Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 213.6 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.372/3.372, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.84 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002665/0.3665, allocations: 1.484 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.3669, allocations: 175.5 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.367, allocations: 7.875 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.367, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.3672, allocations: 31.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3674, allocations: 59.11 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3675, allocations: 55.84 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.3676, allocations: 15.92 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.3676, allocations: 23.92 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.3677, allocations: 23.91 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3677, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.3677, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.3678, allocations: 8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.3678, allocations: 23.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.3679, allocations: 43.81 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3679, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3679, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3679, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005385/0.3685, allocations: 274.3 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3685, allocations: 12.03 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3685, allocations: 4.891 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3686, allocations: 118.4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3687, allocations: 4.375 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3687, allocations: 384 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3689, allocations: 124.2 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3689, allocations: 192 / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.3689, allocations: 11.94 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3689, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.3689, allocations: 19.98 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.3693, allocations: 216.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.3694, allocations: 38.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.3694, allocations: 20.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3694, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.3696, allocations: 71.27 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3696, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002094/0.3698, allocations: 73.67 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.3699, allocations: 106.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.37, allocations: 101.9 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.37, allocations: 29.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.37, allocations: 84.12 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3701, allocations: 11.91 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.3701, allocations: 21.7 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3703, allocations: 318.8 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.3703, allocations: 8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.3704, allocations: 89.91 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.3704, allocations: 29.23 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3704, allocations: 11.95 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001031/0.3705, allocations: 53.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3706, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3706, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3706, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.3706, allocations: 7.984 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3706, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3708, allocations: 19.88 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3708, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3709, allocations: 126.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.3709, allocations: 8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.3709, allocations: 3.688 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3709, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3709, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3709, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.371, allocations: 117.2 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.371, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.3711, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3711, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3711, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3711, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3711, allocations: 7.938 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3712, allocations: 96.98 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.3713, allocations: 3.953 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3713, allocations: 7.984 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3714, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3714, allocations: 7.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3714, allocations: 8.062 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.3715, allocations: 87.27 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00021/0.3717, allocations: 12 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.3718, allocations: 99.25 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.3719, allocations: 32.22 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3719, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.372, allocations: 15.94 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.3721, allocations: 5.766 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.3724, allocations: 121.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.3725, allocations: 63.34 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.3725, allocations: 12 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3726, allocations: 7.438 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3726, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of Templates: time 0.003383/0.376, allocations: 0.9838 MB / 1.333 GB, free: 11.04 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.27859372200328]