Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 171.4 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.753/1.753, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 98.31 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003798, allocations: 13.5 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.4615, allocations: 149.9 MB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4618, allocations: 83.89 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007415/0.4693, allocations: 2.762 MB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4693, allocations: 4 kB / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.4693, allocations: 0 / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004539/0.4698, allocations: 347.7 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4698, allocations: 12.02 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.4699, allocations: 4 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.47, allocations: 171 kB / 1.373 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4701, allocations: 0 / 1.373 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4701, allocations: 0 / 1.373 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4702, allocations: 77 kB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4703, allocations: 0 / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4703, allocations: 0 / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4703, allocations: 0 / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.4703, allocations: 15.98 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.4707, allocations: 260.8 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.4708, allocations: 42.56 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.4708, allocations: 4 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.471, allocations: 59.42 kB / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.471, allocations: 0 / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.4712, allocations: 81.66 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.4713, allocations: 102.8 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.4714, allocations: 108.9 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.4714, allocations: 25.7 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.4715, allocations: 80.14 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.4715, allocations: 19.83 kB / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.4715, allocations: 0 / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4716, allocations: 314.8 kB / 1.374 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.4716, allocations: 11.94 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.4717, allocations: 42.56 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.4717, allocations: 8 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4718, allocations: 0 / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001054/0.4719, allocations: 61.59 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4719, allocations: 4.781 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4719, allocations: 0 / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4719, allocations: 0 / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.472, allocations: 11.94 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.472, allocations: 0 / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4721, allocations: 16.02 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4721, allocations: 8.328 kB / 1.374 GB, free: 7.23 MB / 0.8698 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4723, allocations: 117.6 kB / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.4723, allocations: 4 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.4723, allocations: 7.5 kB / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4723, allocations: 0 / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4723, allocations: 7.984 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4723, allocations: 0 / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.4725, allocations: 165.6 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4725, allocations: 4 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.4725, allocations: 4 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4726, allocations: 0 / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4726, allocations: 4 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4726, allocations: 3.984 kB / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4726, allocations: 0 / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.4727, allocations: 92.92 kB / 1.374 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.4728, allocations: 85.09 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.4729, allocations: 8 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.473, allocations: 11.98 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.473, allocations: 0 / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.473, allocations: 7.984 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.4731, allocations: 83.28 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4731, allocations: 0 / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002052/0.4733, allocations: 12 kB / 1.374 GB, free: 6.523 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.4735, allocations: 115.1 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.4736, allocations: 27.98 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4736, allocations: 3.938 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.4737, allocations: 15.98 kB / 1.375 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.4738, allocations: 9.078 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.4741, allocations: 120.7 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4744, allocations: 0.6848 MB / 1.375 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.4745, allocations: 7.984 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.4745, allocations: 11.44 kB / 1.375 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4745, allocations: 0 / 1.375 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of Templates: time 0.002677/0.4772, allocations: 0.7908 MB / 1.376 GB, free: 4.715 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches