Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.001167/0.001167, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001336/0.001336, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8881/0.8881, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.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 1.721/1.721, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.331e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001547/0.00157, allocations: 1.083 MB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002721, allocations: 1.077 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.002802, allocations: 4 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.002844, allocations: 23.67 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.002977, allocations: 39.59 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.003262, allocations: 103.8 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.00345, allocations: 247.2 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.00359, allocations: 63.86 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.0038, allocations: 147.7 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.003892, allocations: 83.7 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.00392, allocations: 24 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.003966, allocations: 28 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.004004, allocations: 59.81 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.004055, allocations: 67.83 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.004297, allocations: 299 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004299, allocations: 0 / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.22e-07/0.0043, allocations: 0 / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004304, allocations: 0 / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006113/0.004915, allocations: 491.4 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.004949, allocations: 8.75 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.005089, allocations: 44.77 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.005309, allocations: 181.4 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.005385, allocations: 119.4 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.005415, allocations: 28.38 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.005664, allocations: 186 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.005676, allocations: 192 / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.005694, allocations: 16.36 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005701, allocations: 7.938 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.005931, allocations: 147.8 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.006721, allocations: 467.8 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.006967, allocations: 138.8 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.007078, allocations: 73.12 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.007103, allocations: 4 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.007294, allocations: 159.1 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.007295, allocations: 0 / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.000424/0.007719, allocations: 267.5 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.007753, allocations: 55.41 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.007861, allocations: 175.6 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.007879, allocations: 33.7 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.007936, allocations: 136.5 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.007974, allocations: 59.55 kB / 1.007 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.008022, allocations: 45.64 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.0081, allocations: 330.8 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.008216, allocations: 67.95 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.008337, allocations: 106.5 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.008563, allocations: 186.4 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.008566, allocations: 3.938 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002742/0.00884, allocations: 225.4 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.008851, allocations: 8 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008856, allocations: 3.938 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.008867, allocations: 4 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.008975, allocations: 39.97 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.00898, allocations: 4 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.009046, allocations: 27.86 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.009057, allocations: 8 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.085e-05/0.009148, allocations: 144.2 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.009164, allocations: 15.91 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.009195, allocations: 25.8 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.009198, allocations: 4 kB / 1.008 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009202, allocations: 0 / 1.008 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.009206, allocations: 3.984 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.009337, allocations: 201.1 kB / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009339, allocations: 3.938 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.009445, allocations: 39.91 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009447, allocations: 0 / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.009461, allocations: 8 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009462, allocations: 0 / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009462, allocations: 4 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.009881, allocations: 328.8 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.009898, allocations: 15.94 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.009915, allocations: 4 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.009972, allocations: 19.97 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.01002, allocations: 24.03 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01003, allocations: 4 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.0101, allocations: 128.8 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0101, allocations: 7.938 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001502/0.01025, allocations: 43.89 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.349e-05/0.01033, allocations: 103.2 kB / 1.009 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.01061, allocations: 179.8 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01061, allocations: 3.938 kB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.01074, allocations: 86.12 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.01093, allocations: 35.91 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.01145, allocations: 424.2 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.01151, allocations: 125.5 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.01157, allocations: 24.5 kB / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.01157, allocations: 0 / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of Templates: time 0.003092/0.01466, allocations: 2.691 MB / 1.012 GB, free: 0.9219 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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: 6.604036370292306]