Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_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.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7515/0.7536, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003183/0.7568, allocations: 1.794 MB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.7583, allocations: 0.9372 MB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.7584, allocations: 0 / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.7589, allocations: 190.2 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.7593, allocations: 171.9 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.7598, allocations: 200.6 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.7601, allocations: 251.3 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.7602, allocations: 48.38 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.7604, allocations: 99.61 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.7606, allocations: 167.5 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.7606, allocations: 20 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.7607, allocations: 47.98 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.7609, allocations: 87.73 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.761, allocations: 115.2 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.7614, allocations: 358.2 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7614, allocations: 0 / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7614, allocations: 0 / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7614, allocations: 4 kB / 1.279 GB, free: 15.74 MB / 0.9825 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.0008707/0.7623, allocations: 0.5509 MB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.7623, allocations: 8.031 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.7624, allocations: 32.7 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.7629, allocations: 344.8 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.763, allocations: 8.375 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.763, allocations: 4.125 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.7632, allocations: 81.59 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7632, allocations: 0 / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.7632, allocations: 3.984 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7632, allocations: 4 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.7633, allocations: 55.91 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.764, allocations: 447.6 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.7641, allocations: 50.48 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.7642, allocations: 16.92 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.7642, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.7642, allocations: 42.5 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.7642, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003067/0.7645, allocations: 109.3 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.7646, allocations: 51.41 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/0.7653, allocations: 0.5562 MB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.7653, allocations: 25.7 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.7654, allocations: 172.1 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.7655, allocations: 19.83 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.7655, allocations: 17.72 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7657, allocations: 338.8 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.7657, allocations: 15.98 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.7658, allocations: 12.09 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.7659, allocations: 36.78 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7659, allocations: 0 / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001852/0.766, allocations: 97.42 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7661, allocations: 4 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7661, allocations: 0 / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7661, allocations: 3.938 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.7662, allocations: 8 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.7662, allocations: 0 / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.7662, allocations: 3.984 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.7662, allocations: 4 kB / 1.282 GB, free: 12.46 MB / 0.9825 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 0.0001724/0.7664, allocations: 182.3 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.7665, allocations: 31.81 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.7667, allocations: 104.2 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7667, allocations: 4.312 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7667, allocations: 0 / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7667, allocations: 0 / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.767, allocations: 252.6 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.767, allocations: 3.984 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.7671, allocations: 15.98 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7671, allocations: 4 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.7671, allocations: 0 / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7671, allocations: 3.938 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7671, allocations: 0 / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.7673, allocations: 187.3 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.7674, allocations: 39.8 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.7674, allocations: 0 / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.7675, allocations: 7.938 kB / 1.282 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.7676, allocations: 7.984 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.7676, allocations: 4 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004916/0.7681, allocations: 419 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7681, allocations: 3.938 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002785/0.7683, allocations: 23.94 kB / 1.283 GB, free: 11.12 MB / 0.9825 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.001315/0.7697, allocations: 354.8 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.7698, allocations: 27.97 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7698, allocations: 0 / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.7699, allocations: 16 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.7703, allocations: 48.92 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.7712, allocations: 0.5173 MB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.7716, allocations: 0.787 MB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.7717, allocations: 46.92 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.7718, allocations: 23.61 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.7718, allocations: 4 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.006486/0.7783, allocations: 2.514 MB / 1.287 GB, free: 6.887 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.621005912311375]