Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001081/0.001081, allocations: 182.9 kB / 0.4902 GB, free: 2.258 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.605/1.605, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0008797/0.0008795, allocations: 98.39 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 6.875 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3546, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5545, allocations: 153.6 MB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.5549, allocations: 95.94 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.5791, allocations: 8.223 MB / 1.387 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.676e-06/0.5792, allocations: 4 kB / 1.387 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.433e-05/0.5792, allocations: 11.94 kB / 1.387 GB, free: 7.555 MB / 0.8855 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.001187/0.5804, allocations: 0.4993 MB / 1.388 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.837e-05/0.5805, allocations: 8.562 kB / 1.388 GB, free: 7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.5807, allocations: 23.72 kB / 1.388 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.5814, allocations: 278.4 kB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.5815, allocations: 8 kB / 1.388 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.5816, allocations: 24 kB / 1.388 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.5821, allocations: 212.6 kB / 1.388 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5821, allocations: 0 / 1.388 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.5822, allocations: 8 kB / 1.388 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.5822, allocations: 4 kB / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5833, allocations: 0.7334 MB / 1.389 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.5847, allocations: 0.5668 MB / 1.39 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.5852, allocations: 293.4 kB / 1.39 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.5853, allocations: 24.23 kB / 1.39 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.5857, allocations: 181.9 kB / 1.39 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 3.005e-06/0.5857, allocations: 4 kB / 1.39 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0006822/0.5864, allocations: 361.1 kB / 1.391 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.5865, allocations: 136.5 kB / 1.391 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.5868, allocations: 263.9 kB / 1.391 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.5869, allocations: 33.7 kB / 1.391 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.587, allocations: 120.7 kB / 1.391 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.5871, allocations: 110.4 kB / 1.391 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.5871, allocations: 4 kB / 1.391 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5873, allocations: 342.8 kB / 1.391 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5875, allocations: 79.95 kB / 1.392 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5876, allocations: 127.2 kB / 1.392 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.5878, allocations: 104.7 kB / 1.392 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5879, allocations: 0 / 1.392 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004995/0.5884, allocations: 273 kB / 1.392 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.5884, allocations: 4 kB / 1.392 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5884, allocations: 3.984 kB / 1.392 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.5885, allocations: 4 kB / 1.392 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.5889, allocations: 63.91 kB / 1.392 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.5889, allocations: 4 kB / 1.392 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.5891, allocations: 23.8 kB / 1.392 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.5891, allocations: 15.98 kB / 1.392 GB, free: 2.41 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.0002068/0.5893, allocations: 158.8 kB / 1.392 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.5894, allocations: 23.72 kB / 1.392 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.5901, allocations: 393.3 kB / 1.393 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5901, allocations: 4 kB / 1.393 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5902, allocations: 0 / 1.393 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5902, allocations: 3.984 kB / 1.393 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.5905, allocations: 345.2 kB / 1.393 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5905, allocations: 0 / 1.393 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.5907, allocations: 55.91 kB / 1.393 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.5907, allocations: 4 kB / 1.393 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5908, allocations: 8 kB / 1.393 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5908, allocations: 4 kB / 1.393 GB, free: 1.371 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5908, allocations: 3.984 kB / 1.393 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.5912, allocations: 321.9 kB / 1.393 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5914, allocations: 160.6 kB / 1.394 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.5915, allocations: 4 kB / 1.394 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5916, allocations: 19.98 kB / 1.394 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.5917, allocations: 31.91 kB / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.5917, allocations: 12 kB / 1.394 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002142/0.592, allocations: 217.6 kB / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.592, allocations: 0 / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003343/0.5923, allocations: 79.91 kB / 1.394 GB, free: 0.5039 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.001091/0.5934, allocations: 407.1 kB / 1.394 GB, free: 248 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.5938, allocations: 219.8 kB / 1.395 GB, free: 28 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5938, allocations: 4 kB / 1.395 GB, free: 24 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.594, allocations: 127.8 kB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.5943, allocations: 32.61 kB / 1.395 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.5952, allocations: 0.5587 MB / 1.395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5956, allocations: 0.7574 MB / 1.396 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003517/0.596, allocations: 150.8 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.5961, allocations: 51.34 kB / 1.396 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of SimCode: time 4.21e-07/0.5961, allocations: 0 / 1.396 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of Templates: time 0.006961/0.6031, allocations: 2.956 MB / 1.399 GB, free: 11.36 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches