Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.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.001381/0.001381, 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.001927/0.001927, 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 1.03/1.03, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.394/2.394, allocations: 0.5569 GB / 0.8628 GB, free: 29.34 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiLif.minChiLif.1.|chiLif.minChiLif.2.|chiLif.minChiLif.3.|chiLif.minChiLif.4.|chiLif.maxChiLif.1.|chiLif.maxChiLif.2.|chiLif.maxChiLif.3.|chiLif.maxChiLif.4.|chiLif.uChi.1.|chiLif.uChi.2.|chiLif.uChi.3.|chiLif.uChi.4.|chiLif.yLifMax|chiLif.yLifMin",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiLif.minChiLif.1.|chiLif.minChiLif.2.|chiLif.minChiLif.3.|chiLif.minChiLif.4.|chiLif.maxChiLif.1.|chiLif.maxChiLif.2.|chiLif.maxChiLif.3.|chiLif.maxChiLif.4.|chiLif.uChi.1.|chiLif.uChi.2.|chiLif.uChi.3.|chiLif.uChi.4.|chiLif.yLifMax|chiLif.yLifMin",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 72.89 kB / 1.255 GB, free: 22.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 193.6 MB / 1.444 GB, free: 9.129 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts): time 0.001899/0.3482, allocations: 0.9802 MB / 1.445 GB, free: 8.145 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.3487, allocations: 159.7 kB / 1.446 GB, free: 7.988 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3488, allocations: 7.938 kB / 1.446 GB, free: 7.98 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.3489, allocations: 39.7 kB / 1.446 GB, free: 7.941 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3491, allocations: 31.78 kB / 1.446 GB, free: 7.91 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.3492, allocations: 67.94 kB / 1.446 GB, free: 7.844 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.3495, allocations: 336 kB / 1.446 GB, free: 7.512 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.3498, allocations: 215.7 kB / 1.446 GB, free: 7.301 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.35, allocations: 183.4 kB / 1.446 GB, free: 7.121 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.3502, allocations: 207.1 kB / 1.447 GB, free: 6.918 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.3502, allocations: 48 kB / 1.447 GB, free: 6.871 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.3503, allocations: 44 kB / 1.447 GB, free: 6.828 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.3506, allocations: 135.7 kB / 1.447 GB, free: 6.695 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3507, allocations: 159.1 kB / 1.447 GB, free: 6.539 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.3512, allocations: 0.677 MB / 1.448 GB, free: 5.859 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3512, allocations: 0 / 1.448 GB, free: 5.859 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3512, allocations: 0 / 1.448 GB, free: 5.859 MB / 1.12 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3512, allocations: 0 / 1.448 GB, free: 5.859 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.0007921/0.352, allocations: 0.6416 MB / 1.448 GB, free: 5.188 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.352, allocations: 8.031 kB / 1.448 GB, free: 5.18 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.3521, allocations: 52.64 kB / 1.448 GB, free: 5.129 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.3525, allocations: 329.7 kB / 1.449 GB, free: 4.785 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.3525, allocations: 41.36 kB / 1.449 GB, free: 4.746 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3526, allocations: 36.38 kB / 1.449 GB, free: 4.711 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.3531, allocations: 0.4915 MB / 1.449 GB, free: 4.215 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3531, allocations: 0 / 1.449 GB, free: 4.215 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.3532, allocations: 20 kB / 1.449 GB, free: 4.195 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3532, allocations: 8 kB / 1.449 GB, free: 4.188 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.3537, allocations: 467.6 kB / 1.45 GB, free: 3.73 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3549, allocations: 1.031 MB / 1.451 GB, free: 2.664 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.355, allocations: 130.4 kB / 1.451 GB, free: 2.527 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.3551, allocations: 76.75 kB / 1.451 GB, free: 2.449 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3551, allocations: 0 / 1.451 GB, free: 2.449 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3552, allocations: 38.69 kB / 1.451 GB, free: 2.402 MB / 1.12 GB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.3552, allocations: 0 / 1.451 GB, free: 2.402 MB / 1.12 GB Notification: Performance of matching and sorting (n=10): time 0.0003475/0.3555, allocations: 249.3 kB / 1.451 GB, free: 2.152 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3555, allocations: 59.34 kB / 1.451 GB, free: 2.082 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3559, allocations: 412.3 kB / 1.452 GB, free: 1.672 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3559, allocations: 29.7 kB / 1.452 GB, free: 1.637 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.356, allocations: 287.7 kB / 1.452 GB, free: 1.348 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.356, allocations: 43.67 kB / 1.452 GB, free: 1.305 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.3561, allocations: 85.64 kB / 1.452 GB, free: 1.215 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.3562, allocations: 342.8 kB / 1.452 GB, free: 0.8711 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3563, allocations: 127.9 kB / 1.452 GB, free: 0.7461 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3565, allocations: 240.4 kB / 1.453 GB, free: 480 kB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3568, allocations: 308.5 kB / 1.453 GB, free: 128 kB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3568, allocations: 7.938 kB / 1.453 GB, free: 120 kB / 1.12 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003907/0.3572, allocations: 398.3 kB / 1.453 GB, free: 15.72 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3572, allocations: 8 kB / 1.453 GB, free: 15.71 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3572, allocations: 4 kB / 1.453 GB, free: 15.71 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3572, allocations: 7.984 kB / 1.453 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.3574, allocations: 63.91 kB / 1.453 GB, free: 15.64 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3574, allocations: 11.88 kB / 1.453 GB, free: 15.63 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.3575, allocations: 39.77 kB / 1.454 GB, free: 15.59 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3575, allocations: 8 kB / 1.454 GB, free: 15.58 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 3 (chiLif.chiOn.uTemp[2],chiLif.chiOn.uTemp[4],chiLif.chiOn.uTemp[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0004161/0.3579, allocations: 233.9 kB / 1.454 GB, free: 15.34 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.358, allocations: 27.81 kB / 1.454 GB, free: 15.32 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.358, allocations: 38.62 kB / 1.454 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.358, allocations: 0 / 1.454 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.358, allocations: 3.938 kB / 1.454 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.358, allocations: 384 / 1.454 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.3588, allocations: 0.9195 MB / 1.455 GB, free: 14.28 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3588, allocations: 0 / 1.455 GB, free: 14.28 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.3588, allocations: 19.98 kB / 1.455 GB, free: 14.26 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3588, allocations: 11.88 kB / 1.455 GB, free: 14.25 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3589, allocations: 0 / 1.455 GB, free: 14.25 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3589, allocations: 7.938 kB / 1.455 GB, free: 14.24 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3589, allocations: 4 kB / 1.455 GB, free: 14.24 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.3591, allocations: 280.5 kB / 1.455 GB, free: 13.92 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.3591, allocations: 27.84 kB / 1.455 GB, free: 13.89 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3591, allocations: 8.062 kB / 1.455 GB, free: 13.88 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.3592, allocations: 11.98 kB / 1.455 GB, free: 13.87 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3592, allocations: 23.86 kB / 1.455 GB, free: 13.85 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3592, allocations: 8 kB / 1.455 GB, free: 13.84 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0001905/0.3594, allocations: 275 kB / 1.455 GB, free: 13.57 MB / 1.135 GB Notification: Performance of sort global known variables: time 6e-08/0.3594, allocations: 0 / 1.455 GB, free: 13.57 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002425/0.3596, allocations: 79.67 kB / 1.455 GB, free: 13.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (chiLif.chiOn.uTemp[4],chiLif.chiOn.uTemp[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 9.408e-05/0.3597, allocations: 112.8 kB / 1.456 GB, free: 13.38 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.36, allocations: 255.6 kB / 1.456 GB, free: 13.13 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.36, allocations: 0 / 1.456 GB, free: 13.13 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.3601, allocations: 79.83 kB / 1.456 GB, free: 13.05 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3603, allocations: 34.53 kB / 1.456 GB, free: 13.02 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.3612, allocations: 0.7358 MB / 1.457 GB, free: 12.23 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3613, allocations: 260.7 kB / 1.457 GB, free: 11.95 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.3614, allocations: 27.42 kB / 1.457 GB, free: 11.92 MB / 1.135 GB Notification: Performance of SimCode: time 6.72e-07/0.3614, allocations: 0 / 1.457 GB, free: 11.92 MB / 1.135 GB Notification: Performance of Templates: time 0.005353/0.3668, allocations: 4.615 MB / 1.461 GB, free: 7.316 MB / 1.135 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts -emit_protected > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Generic_Validation_ChillerLifts.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.ChillerLifts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,chiLif.minChiLif[1],chiLif.minChiLif[2],chiLif.minChiLif[3],chiLif.minChiLif[4],chiLif.maxChiLif[1],chiLif.maxChiLif[2],chiLif.maxChiLif[3],chiLif.maxChiLif[4],chiLif.uChi[1],chiLif.uChi[2],chiLif.uChi[3],chiLif.uChi[4],chiLif.yLifMax,chiLif.yLifMin Variables in the result:chiLif.maxChiLif[1],chiLif.maxChiLif[2],chiLif.maxChiLif[3],chiLif.maxChiLif[4],chiLif.minChiLif[1],chiLif.minChiLif[2],chiLif.minChiLif[3],chiLif.minChiLif[4],chiLif.uChi[1],chiLif.uChi[2],chiLif.uChi[3],chiLif.uChi[4],chiLif.yLifMax,chiLif.yLifMin,time [Calling sys.exit(0), Time elapsed: 8.594352029002039]