Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001115/0.001114, allocations: 180 kB / 0.4902 GB, free: 2.23 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.922/1.922, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001215/0.001215, allocations: 104.1 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004184, allocations: 10.47 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.535, allocations: 152.5 MB / 1.378 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5354, allocations: 79.95 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.5482, allocations: 4.843 MB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.756e-06/0.5483, allocations: 0 / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.566e-05/0.5483, allocations: 4 kB / 1.383 GB, free: 12.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009444/0.5492, allocations: 0.5771 MB / 1.384 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.5493, allocations: 8.031 kB / 1.384 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.5494, allocations: 35.62 kB / 1.384 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.5501, allocations: 373.4 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5501, allocations: 4 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.5502, allocations: 4 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.5504, allocations: 73.61 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5504, allocations: 3.938 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.5505, allocations: 4 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5505, allocations: 0 / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.5507, allocations: 67.94 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.5515, allocations: 444.5 kB / 1.385 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5517, allocations: 54.55 kB / 1.385 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.5517, allocations: 0 / 1.385 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5517, allocations: 34.62 kB / 1.385 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5517, allocations: 0 / 1.385 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004351/0.5522, allocations: 141.3 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.5522, allocations: 55.39 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.5529, allocations: 472.8 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.5529, allocations: 25.7 kB / 1.385 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.5531, allocations: 168 kB / 1.385 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.5531, allocations: 3.906 kB / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5531, allocations: 7.938 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.5533, allocations: 346.8 kB / 1.386 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.5534, allocations: 15.98 kB / 1.386 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.5535, allocations: 27.98 kB / 1.386 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.987e-05/0.5536, allocations: 28.25 kB / 1.386 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5536, allocations: 0 / 1.386 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002635/0.5539, allocations: 121.2 kB / 1.386 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5539, allocations: 4 kB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5539, allocations: 0 / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.554, allocations: 0 / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5541, allocations: 15.98 kB / 1.386 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.5541, allocations: 3.953 kB / 1.386 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.5542, allocations: 19.94 kB / 1.386 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.5542, allocations: 0 / 1.386 GB, free: 8.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001782/0.5544, allocations: 171.5 kB / 1.386 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.5545, allocations: 27.62 kB / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.5548, allocations: 128 kB / 1.386 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5548, allocations: 0 / 1.386 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5548, allocations: 4 kB / 1.386 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5548, allocations: 3.953 kB / 1.386 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.5552, allocations: 269.5 kB / 1.387 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5552, allocations: 0 / 1.387 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.5552, allocations: 15.98 kB / 1.387 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5552, allocations: 0 / 1.387 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5553, allocations: 4 kB / 1.387 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5553, allocations: 0 / 1.387 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5553, allocations: 3.938 kB / 1.387 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.5556, allocations: 211.1 kB / 1.387 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.5558, allocations: 124.8 kB / 1.387 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.5558, allocations: 3.984 kB / 1.387 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5559, allocations: 8 kB / 1.387 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.556, allocations: 7.922 kB / 1.387 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.556, allocations: 0 / 1.387 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004438/0.5565, allocations: 379.1 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5565, allocations: 0 / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002714/0.5567, allocations: 39.84 kB / 1.387 GB, free: 7.371 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009372/0.5577, allocations: 356.4 kB / 1.388 GB, free: 7.145 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.558, allocations: 63.94 kB / 1.388 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.452e-05/0.558, allocations: 0 / 1.388 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.5581, allocations: 23.97 kB / 1.388 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.5584, allocations: 37.48 kB / 1.388 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.5592, allocations: 0.5155 MB / 1.388 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.5596, allocations: 0.783 MB / 1.389 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.5598, allocations: 41.94 kB / 1.389 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.5598, allocations: 31.36 kB / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.5598, allocations: 0 / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of Templates: time 0.005456/0.5653, allocations: 2.298 MB / 1.391 GB, free: 3.305 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches