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.001814/0.001814, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002179/0.002179, allocations: 169.4 kB / 22.46 MB, free: 5.363 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 3.019/3.019, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] 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.184e-06/2.184e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.103e-05, allocations: 10.16 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002381/0.002412, allocations: 1.078 MB / 1.001 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.004019, allocations: 1.085 MB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.004165, allocations: 0 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.971e-05/0.004224, allocations: 27.69 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.004411, allocations: 43.58 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.004801, allocations: 95.77 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.005126, allocations: 251.2 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.005319, allocations: 71.84 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.00564, allocations: 151.7 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.005805, allocations: 83.7 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.005866, allocations: 28 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.005935, allocations: 24 kB / 1.003 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.005991, allocations: 51.83 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.006084, allocations: 79.69 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.00646, allocations: 295 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006463, allocations: 0 / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.006465, allocations: 3.938 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.006472, allocations: 0 / 1.003 GB, free: 3.91 MB / 0.9512 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.000973/0.007445, allocations: 473.2 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.00748, allocations: 8.031 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.007732, allocations: 44.77 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.008113, allocations: 189.9 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.008236, allocations: 123.4 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.00828, allocations: 20.38 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.00872, allocations: 190 kB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.008734, allocations: 192 / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.008759, allocations: 12.31 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.008768, allocations: 7.938 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.009205, allocations: 159.8 kB / 1.005 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.01007, allocations: 459.9 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.01049, allocations: 134.8 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.01071, allocations: 76.81 kB / 1.005 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.01074, allocations: 3.938 kB / 1.005 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.01108, allocations: 147.3 kB / 1.005 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.01108, allocations: 0 / 1.005 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0007869/0.01186, allocations: 267.3 kB / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.01192, allocations: 59.34 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.0121, allocations: 170.8 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.01213, allocations: 33.7 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.01222, allocations: 148.4 kB / 1.006 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.01229, allocations: 63.47 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.01237, allocations: 41.7 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01252, allocations: 330.8 kB / 1.006 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.01273, allocations: 71.95 kB / 1.006 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.01297, allocations: 102.5 kB / 1.007 GB, free: 452 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.0134, allocations: 170.5 kB / 1.007 GB, free: 272 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01341, allocations: 7.875 kB / 1.007 GB, free: 264 kB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007157/0.01412, allocations: 237.3 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01414, allocations: 8 kB / 1.007 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01415, allocations: 0 / 1.007 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.01417, allocations: 4 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.01441, allocations: 44.03 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.01442, allocations: 4 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.01458, allocations: 19.88 kB / 1.007 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.0146, allocations: 12 kB / 1.007 GB, free: 15.93 MB / 0.9669 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 0.0001792/0.01478, allocations: 137.7 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.01481, allocations: 15.91 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.01488, allocations: 21.81 kB / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.01488, allocations: 4 kB / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01489, allocations: 4 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.01489, allocations: 3.984 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.01513, allocations: 193.1 kB / 1.007 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01513, allocations: 3.938 kB / 1.007 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.01537, allocations: 39.91 kB / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.01537, allocations: 4 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.01539, allocations: 4 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.0154, allocations: 3.984 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0154, allocations: 0 / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.01626, allocations: 339.2 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.01629, allocations: 15.89 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.01633, allocations: 4 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.01646, allocations: 11.98 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.01655, allocations: 19.97 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.01657, allocations: 15.98 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000115/0.01669, allocations: 136.3 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01669, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002616/0.01695, allocations: 43.89 kB / 1.008 GB, free: 14.87 MB / 0.9669 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 0.0001684/0.01712, allocations: 99.25 kB / 1.008 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006058/0.01773, allocations: 180.1 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01773, allocations: 4 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.01797, allocations: 83.89 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.01831, allocations: 52.11 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.01918, allocations: 402.7 kB / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.01932, allocations: 125.5 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.01941, allocations: 17.48 kB / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.01948, allocations: 20.5 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.01948, allocations: 0 / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of Templates: time 0.006792/0.02627, allocations: 2.372 MB / 1.011 GB, free: 11.54 MB / 0.9669 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: 8.475752584636211]