Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.00105/0.001049, allocations: 182.9 kB / 498.1 MB, free: 5.73 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.65/1.65, 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.0009948/0.0009944, allocations: 102.8 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003903, allocations: 10.78 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.325, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.5359, allocations: 152.8 MB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5362, allocations: 87.94 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.5582, allocations: 8.244 MB / 1.38 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5582, allocations: 0 / 1.38 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5582, allocations: 4 kB / 1.38 GB, free: 0.8281 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008373/0.5591, allocations: 0.4993 MB / 1.381 GB, free: 288 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5591, allocations: 12.03 kB / 1.381 GB, free: 276 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.5593, allocations: 23.72 kB / 1.381 GB, free: 252 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.5597, allocations: 270.5 kB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.5597, allocations: 12 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.5598, allocations: 12 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.5602, allocations: 212.8 kB / 1.381 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5602, allocations: 0 / 1.381 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.5602, allocations: 8 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5602, allocations: 4 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.5612, allocations: 0.7295 MB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5622, allocations: 0.5708 MB / 1.383 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.5627, allocations: 300.6 kB / 1.383 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/0.5628, allocations: 24.19 kB / 1.383 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.5631, allocations: 170 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.5631, allocations: 0 / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0007199/0.5639, allocations: 369.1 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.564, allocations: 140.5 kB / 1.384 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.5643, allocations: 256.6 kB / 1.384 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.5644, allocations: 33.7 kB / 1.384 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.5645, allocations: 120.8 kB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5646, allocations: 110.3 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.5646, allocations: 8 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5648, allocations: 338.8 kB / 1.384 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.5649, allocations: 80.11 kB / 1.384 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.5651, allocations: 127.2 kB / 1.385 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.5653, allocations: 99.95 kB / 1.385 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5653, allocations: 4 kB / 1.385 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004244/0.5657, allocations: 281.4 kB / 1.385 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.5657, allocations: 4 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5657, allocations: 3.938 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5658, allocations: 0 / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.566, allocations: 63.91 kB / 1.385 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.566, allocations: 8 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.5662, allocations: 35.62 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.5663, allocations: 15.98 kB / 1.385 GB, free: 11.68 MB / 0.8855 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 (35): * Single equations (assignments): 35 * 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.0001714/0.5664, allocations: 157.8 kB / 1.385 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.5665, allocations: 23.72 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.5672, allocations: 389.5 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5672, allocations: 8.031 kB / 1.386 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5672, allocations: 0 / 1.386 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5672, allocations: 3.984 kB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.5676, allocations: 333.2 kB / 1.386 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5676, allocations: 0 / 1.386 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.5678, allocations: 59.92 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5678, allocations: 3.984 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.5678, allocations: 12 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.5678, allocations: 4 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5678, allocations: 4 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.5683, allocations: 333.7 kB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.5685, allocations: 152.7 kB / 1.386 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.5686, allocations: 7.984 kB / 1.386 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5687, allocations: 12 kB / 1.386 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.5688, allocations: 27.95 kB / 1.386 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.5688, allocations: 16 kB / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002267/0.569, allocations: 216.4 kB / 1.387 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.569, allocations: 0 / 1.387 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003306/0.5694, allocations: 72 kB / 1.387 GB, free: 9.781 MB / 0.8855 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 (34): * Single equations (assignments): 33 * 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.00103/0.5704, allocations: 412.4 kB / 1.387 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.5708, allocations: 223.8 kB / 1.387 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5708, allocations: 0 / 1.387 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.571, allocations: 131.8 kB / 1.388 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.5713, allocations: 34.84 kB / 1.388 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.5722, allocations: 0.5549 MB / 1.388 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.5726, allocations: 0.7622 MB / 1.389 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.5729, allocations: 154.8 kB / 1.389 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.573, allocations: 47.42 kB / 1.389 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.573, allocations: 0 / 1.389 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.006979/0.58, allocations: 2.948 MB / 1.392 GB, free: 4.641 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches