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.001035/0.001035, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009498/0.0009498, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 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.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.854/1.854, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] 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.974e-06/1.974e-06, allocations: 0.5469 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.149e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003514/0.003546, allocations: 1.818 MB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004877, allocations: 1.113 MB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.004969, allocations: 5.812 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.00534, allocations: 131.4 kB / 0.8158 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.005706, allocations: 208.7 kB / 0.816 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.006038, allocations: 228 kB / 0.8162 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.006292, allocations: 267.4 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.006436, allocations: 37.88 kB / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.007099, allocations: 208.7 kB / 0.8167 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.007267, allocations: 151.7 kB / 0.8168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.007295, allocations: 25.09 kB / 0.8168 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.007383, allocations: 51.91 kB / 0.8169 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.007459, allocations: 91.7 kB / 0.817 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.007511, allocations: 61.14 kB / 0.817 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.007793, allocations: 215.1 kB / 0.8172 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.007797, allocations: 8 kB / 0.8173 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.392e-06/0.007799, allocations: 1.656 kB / 0.8173 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.007804, allocations: 0 / 0.8173 GB, free: 12.91 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.0006545/0.008458, allocations: 0.6623 MB / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.008502, allocations: 8.031 kB / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.008684, allocations: 42.09 kB / 0.818 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.009077, allocations: 341.4 kB / 0.8183 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.009094, allocations: 4.375 kB / 0.8183 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.009108, allocations: 8.906 kB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.009248, allocations: 72.72 kB / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.009259, allocations: 3.938 kB / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.009269, allocations: 0 / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.009275, allocations: 4 kB / 0.8184 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.00931, allocations: 11.98 kB / 0.8184 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.009706, allocations: 378.3 kB / 0.8187 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.009789, allocations: 39.03 kB / 0.8188 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.009808, allocations: 11.75 kB / 0.8188 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.009827, allocations: 0 / 0.8188 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.00985, allocations: 33.39 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.009851, allocations: 3.938 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001657/0.01002, allocations: 74.22 kB / 0.8189 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.01005, allocations: 51.94 kB / 0.8189 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.01036, allocations: 446.5 kB / 0.8194 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.01037, allocations: 27.36 kB / 0.8194 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01049, allocations: 246.7 kB / 0.8196 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.01051, allocations: 11.89 kB / 0.8196 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.01055, allocations: 27.36 kB / 0.8197 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.0107, allocations: 0.5245 MB / 0.8202 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.01072, allocations: 4 kB / 0.8202 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.01073, allocations: 8.156 kB / 0.8202 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.01077, allocations: 24.19 kB / 0.8202 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01077, allocations: 0 / 0.8202 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.327e-05/0.01086, allocations: 70.47 kB / 0.8203 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01088, allocations: 11.94 kB / 0.8203 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01089, allocations: 0.8438 kB / 0.8203 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.0109, allocations: 0 / 0.8203 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.01097, allocations: 5.656 kB / 0.8203 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01097, allocations: 0 / 0.8203 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.011, allocations: 7.984 kB / 0.8203 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-06/0.01101, allocations: 7.984 kB / 0.8203 GB, free: 9.598 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 9.154e-05/0.0111, allocations: 165.4 kB / 0.8205 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01114, allocations: 35.7 kB / 0.8205 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.01129, allocations: 78.61 kB / 0.8206 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01129, allocations: 0 / 0.8206 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.0113, allocations: 0 / 0.8206 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.0113, allocations: 0 / 0.8206 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.0115, allocations: 181.1 kB / 0.8208 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0115, allocations: 0 / 0.8208 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.01155, allocations: 7.984 kB / 0.8208 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01156, allocations: 2.156 kB / 0.8208 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.01156, allocations: 4 kB / 0.8208 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01157, allocations: 0 / 0.8208 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01157, allocations: 0 / 0.8208 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.01173, allocations: 223.6 kB / 0.821 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.01177, allocations: 36.25 kB / 0.821 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01179, allocations: 4 kB / 0.821 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.01184, allocations: 1.125 kB / 0.821 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.01187, allocations: 0 / 0.821 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01188, allocations: 3.984 kB / 0.821 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001819/0.01206, allocations: 292.1 kB / 0.8213 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01206, allocations: 0 / 0.8213 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000183/0.01224, allocations: 23.94 kB / 0.8213 GB, free: 8.508 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.0007526/0.01299, allocations: 337.1 kB / 0.8216 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.01308, allocations: 27.66 kB / 0.8217 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01308, allocations: 10.03 kB / 0.8217 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.0131, allocations: 15.69 kB / 0.8217 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01337, allocations: 46.06 kB / 0.8217 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.01406, allocations: 437.3 kB / 0.8222 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.548e-05/0.01413, allocations: 104.3 kB / 0.8223 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.01419, allocations: 38.66 kB / 0.8223 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.01429, allocations: 102.2 kB / 0.8224 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of SimCode: time 5.92e-07/0.01429, allocations: 0 / 0.8224 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of Templates: time 0.005172/0.01946, allocations: 2.909 MB / 0.8252 GB, free: 4.621 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.122874799184501]