Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001178/0.001178, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.001307/0.001307, allocations: 211.3 kB / 23 MB, free: 2.977 MB / 13.93 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.9782/0.9782, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.507/2.507, allocations: 0.5569 GB / 0.8628 GB, free: 29.35 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008847/0.0008847, allocations: 64.78 kB / 1.255 GB, free: 22.32 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3564, allocations: 193.6 MB / 1.444 GB, free: 9.105 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002785/0.3592, allocations: 1.79 MB / 1.446 GB, free: 7.301 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3607, allocations: 1.096 MB / 1.447 GB, free: 6.199 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3608, allocations: 3.938 kB / 1.447 GB, free: 6.195 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.3614, allocations: 189 kB / 1.447 GB, free: 6.012 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.3618, allocations: 216.1 kB / 1.448 GB, free: 5.801 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.3621, allocations: 225.9 kB / 1.448 GB, free: 5.582 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.3623, allocations: 267.3 kB / 1.448 GB, free: 5.32 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3625, allocations: 32.58 kB / 1.448 GB, free: 5.285 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.3627, allocations: 111.6 kB / 1.448 GB, free: 5.176 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3629, allocations: 171.4 kB / 1.448 GB, free: 5.008 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3629, allocations: 20 kB / 1.448 GB, free: 4.988 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.363, allocations: 59.92 kB / 1.448 GB, free: 4.93 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.3631, allocations: 87.73 kB / 1.449 GB, free: 4.844 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.3631, allocations: 83.41 kB / 1.449 GB, free: 4.762 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.3635, allocations: 406.2 kB / 1.449 GB, free: 4.363 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3635, allocations: 0 / 1.449 GB, free: 4.363 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3635, allocations: 0 / 1.449 GB, free: 4.363 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3635, allocations: 4 kB / 1.449 GB, free: 4.359 MB / 1.12 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.0006356/0.3641, allocations: 0.547 MB / 1.45 GB, free: 3.781 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3642, allocations: 12.02 kB / 1.45 GB, free: 3.77 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3643, allocations: 40.7 kB / 1.45 GB, free: 3.73 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3648, allocations: 376.7 kB / 1.45 GB, free: 3.34 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3648, allocations: 4.375 kB / 1.45 GB, free: 3.336 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3648, allocations: 12.06 kB / 1.45 GB, free: 3.324 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3649, allocations: 73.67 kB / 1.45 GB, free: 3.246 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3649, allocations: 0 / 1.45 GB, free: 3.246 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3649, allocations: 7.938 kB / 1.45 GB, free: 3.238 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3649, allocations: 4 kB / 1.45 GB, free: 3.234 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.365, allocations: 43.97 kB / 1.45 GB, free: 3.191 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3655, allocations: 404.1 kB / 1.451 GB, free: 2.766 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3656, allocations: 50.55 kB / 1.451 GB, free: 2.707 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.3656, allocations: 16.86 kB / 1.451 GB, free: 2.688 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3656, allocations: 3.984 kB / 1.451 GB, free: 2.684 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3656, allocations: 38.56 kB / 1.451 GB, free: 2.637 MB / 1.12 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3657, allocations: 4 kB / 1.451 GB, free: 2.633 MB / 1.12 GB Notification: Performance of matching and sorting (n=3): time 0.0002209/0.3659, allocations: 93.48 kB / 1.451 GB, free: 2.535 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3659, allocations: 59.34 kB / 1.451 GB, free: 2.465 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.3664, allocations: 0.5758 MB / 1.451 GB, free: 1.875 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3664, allocations: 25.7 kB / 1.451 GB, free: 1.844 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3665, allocations: 187.9 kB / 1.452 GB, free: 1.656 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3665, allocations: 7.953 kB / 1.452 GB, free: 1.648 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.3666, allocations: 13.72 kB / 1.452 GB, free: 1.629 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3667, allocations: 346.8 kB / 1.452 GB, free: 1.281 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.3667, allocations: 16.05 kB / 1.452 GB, free: 1.266 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.3667, allocations: 19.92 kB / 1.452 GB, free: 1.246 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.3668, allocations: 32.84 kB / 1.452 GB, free: 1.211 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3668, allocations: 4 kB / 1.452 GB, free: 1.207 MB / 1.12 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.3669, allocations: 89.81 kB / 1.452 GB, free: 1.113 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3669, allocations: 4 kB / 1.452 GB, free: 1.109 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3669, allocations: 0 / 1.452 GB, free: 1.109 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3669, allocations: 4 kB / 1.452 GB, free: 1.105 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.367, allocations: 11.98 kB / 1.452 GB, free: 1.094 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.367, allocations: 7.938 kB / 1.452 GB, free: 1.086 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.367, allocations: 7.891 kB / 1.452 GB, free: 1.078 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.367, allocations: 7.984 kB / 1.452 GB, free: 1.07 MB / 1.12 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.0001154/0.3672, allocations: 181.8 kB / 1.452 GB, free: 0.8828 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.3672, allocations: 35.8 kB / 1.452 GB, free: 0.8477 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.3674, allocations: 96.42 kB / 1.452 GB, free: 0.7461 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3674, allocations: 0 / 1.452 GB, free: 0.7461 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3674, allocations: 3.938 kB / 1.452 GB, free: 0.7422 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3674, allocations: 0 / 1.452 GB, free: 0.7422 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3675, allocations: 225.2 kB / 1.453 GB, free: 0.4922 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3675, allocations: 0 / 1.453 GB, free: 0.4922 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.3676, allocations: 4 kB / 1.453 GB, free: 500 kB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3676, allocations: 4 kB / 1.453 GB, free: 496 kB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.3676, allocations: 0 / 1.453 GB, free: 496 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3676, allocations: 0 / 1.453 GB, free: 496 kB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3676, allocations: 3.938 kB / 1.453 GB, free: 492 kB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3677, allocations: 191.2 kB / 1.453 GB, free: 284 kB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.3678, allocations: 39.8 kB / 1.453 GB, free: 244 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3678, allocations: 0 / 1.453 GB, free: 244 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.3678, allocations: 11.98 kB / 1.453 GB, free: 232 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.3679, allocations: 3.938 kB / 1.453 GB, free: 228 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3679, allocations: 4 kB / 1.453 GB, free: 224 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0004349/0.3683, allocations: 435.1 kB / 1.453 GB, free: 15.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 7e-08/0.3683, allocations: 0 / 1.453 GB, free: 15.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0001855/0.3685, allocations: 31.89 kB / 1.453 GB, free: 15.77 MB / 1.135 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.0007137/0.3692, allocations: 385.5 kB / 1.454 GB, free: 15.54 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3693, allocations: 39.91 kB / 1.454 GB, free: 15.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3693, allocations: 0 / 1.454 GB, free: 15.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.3694, allocations: 16 kB / 1.454 GB, free: 15.48 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3696, allocations: 48.27 kB / 1.454 GB, free: 15.44 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.3705, allocations: 0.5705 MB / 1.454 GB, free: 14.83 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3706, allocations: 186.1 kB / 1.455 GB, free: 14.62 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.3707, allocations: 27.42 kB / 1.455 GB, free: 14.6 MB / 1.135 GB Notification: Performance of SimCode: time 7.81e-07/0.3707, allocations: 0 / 1.455 GB, free: 14.6 MB / 1.135 GB Notification: Performance of Templates: time 0.004329/0.375, allocations: 3.837 MB / 1.458 GB, free: 10.76 MB / 1.135 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.654370839998592]