Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.0009903/0.0009903, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001207/0.001207, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 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 0.9747/0.9747, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.228e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002388/0.00241, allocations: 1.837 MB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.00368, allocations: 1.102 MB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.003772, allocations: 3.938 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.004112, allocations: 139.4 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.004495, allocations: 200.6 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.004793, allocations: 224.6 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.005045, allocations: 272.6 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.005435, allocations: 36.56 kB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.006079, allocations: 218.3 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.00623, allocations: 149.5 kB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.006258, allocations: 16 kB / 0.8161 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.006352, allocations: 59.86 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.00642, allocations: 87.69 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.006466, allocations: 64.62 kB / 0.8163 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.00673, allocations: 223.1 kB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006734, allocations: 0 / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.006735, allocations: 0.6875 kB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.006739, allocations: 0.5625 kB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005534/0.007292, allocations: 0.659 MB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.007331, allocations: 12.03 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.007451, allocations: 41.3 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.007745, allocations: 346.7 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.007755, allocations: 4.375 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.007763, allocations: 4.375 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.007862, allocations: 77.44 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.00787, allocations: 3.938 kB / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.007877, allocations: 0 / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.007883, allocations: 0 / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.007909, allocations: 15.98 kB / 0.8176 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.008246, allocations: 368 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.008319, allocations: 43.64 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.008334, allocations: 7.688 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.008359, allocations: 12.64 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.008381, allocations: 37.38 kB / 0.8181 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.008382, allocations: 0.5312 kB / 0.8181 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001426/0.008524, allocations: 79.06 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.008549, allocations: 51.41 kB / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.008825, allocations: 438.5 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.008835, allocations: 25.7 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.008946, allocations: 251.4 kB / 0.8189 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.008963, allocations: 11.83 kB / 0.8189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.00899, allocations: 23.95 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.009141, allocations: 0.532 MB / 0.8194 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.009157, allocations: 3.984 kB / 0.8194 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.019e-05/0.009167, allocations: 4.75 kB / 0.8194 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.009201, allocations: 27.88 kB / 0.8195 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009202, allocations: 5 kB / 0.8195 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.849e-05/0.009281, allocations: 69.45 kB / 0.8195 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.009294, allocations: 8 kB / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.009299, allocations: 1.156 kB / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.009309, allocations: 0 / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.009372, allocations: 7.984 kB / 0.8195 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.009376, allocations: 0.8438 kB / 0.8195 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.009408, allocations: 4 kB / 0.8196 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.009413, allocations: 2.219 kB / 0.8196 GB, free: 9.582 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/0.009495, allocations: 160.5 kB / 0.8197 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.009528, allocations: 35.77 kB / 0.8197 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.009646, allocations: 76.36 kB / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.009648, allocations: 0 / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.009649, allocations: 2.844 kB / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.009651, allocations: 0 / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.009803, allocations: 181.1 kB / 0.82 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009805, allocations: 0 / 0.82 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.009835, allocations: 7.984 kB / 0.82 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.009837, allocations: 0 / 0.82 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.009843, allocations: 4 kB / 0.82 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.009844, allocations: 0 / 0.82 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009846, allocations: 5.531 kB / 0.82 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.009969, allocations: 219.6 kB / 0.8202 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.01001, allocations: 39.75 kB / 0.8203 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01002, allocations: 0 / 0.8203 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.01007, allocations: 8.625 kB / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.0101, allocations: 3.984 kB / 0.8203 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.0101, allocations: 0.6562 kB / 0.8203 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001637/0.01026, allocations: 283 kB / 0.8205 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01026, allocations: 5.844 kB / 0.8205 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001657/0.01043, allocations: 31.88 kB / 0.8206 GB, free: 8.484 MB / 0.7761 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 (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.000712/0.01114, allocations: 329.7 kB / 0.8209 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.433e-05/0.0112, allocations: 20.67 kB / 0.8209 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01121, allocations: 0 / 0.8209 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.01122, allocations: 19.62 kB / 0.8209 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01148, allocations: 52.89 kB / 0.821 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.01213, allocations: 437.4 kB / 0.8214 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.0122, allocations: 105.3 kB / 0.8215 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.331e-05/0.01226, allocations: 42.36 kB / 0.8215 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.01236, allocations: 102.2 kB / 0.8216 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01236, allocations: 0 / 0.8216 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.005173/0.01753, allocations: 2.861 MB / 0.8244 GB, free: 4.672 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.064267997164279]