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.001564/0.001564, allocations: 92.7 kB / 19.44 MB, free: 324 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.00177/0.00177, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.196/3.196, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 1.814e-06/1.814e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.112e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00266/0.002691, allocations: 1.088 MB / 0.8786 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.004464, allocations: 1.078 MB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.004604, allocations: 0.875 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.035e-05/0.004674, allocations: 23.67 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.004866, allocations: 48.92 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.005278, allocations: 104.6 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.005651, allocations: 251.2 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.00587, allocations: 69.72 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.006243, allocations: 144.2 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.006413, allocations: 76.42 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.006467, allocations: 29.44 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.006538, allocations: 27.98 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.0066, allocations: 55.81 kB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.006708, allocations: 75.77 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.007135, allocations: 300.1 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.007138, allocations: 0 / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.007139, allocations: 0 / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.007148, allocations: 7.344 kB / 0.8808 GB, free: 3.164 MB / 0.8386 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.001074/0.008222, allocations: 473.1 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.00826, allocations: 8.031 kB / 0.8813 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.008559, allocations: 57.33 kB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.008988, allocations: 191 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.009124, allocations: 115.4 kB / 0.8817 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.009178, allocations: 20.38 kB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.009659, allocations: 187.6 kB / 0.8819 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.009676, allocations: 4.141 kB / 0.8819 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.009701, allocations: 4.375 kB / 0.8819 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.009713, allocations: 7.938 kB / 0.8819 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.0102, allocations: 164.5 kB / 0.882 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.01114, allocations: 467.8 kB / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.0116, allocations: 142.8 kB / 0.8826 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.01185, allocations: 79.41 kB / 0.8827 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.01188, allocations: 7.938 kB / 0.8827 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.01224, allocations: 140 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.01224, allocations: 0 / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0008476/0.01309, allocations: 283.1 kB / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.01315, allocations: 59.34 kB / 0.8832 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01335, allocations: 176.1 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.01338, allocations: 29.7 kB / 0.8833 GB, free: 448 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.01349, allocations: 136.5 kB / 0.8835 GB, free: 304 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.01357, allocations: 63.48 kB / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01367, allocations: 45.7 kB / 0.8836 GB, free: 188 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.01388, allocations: 326.8 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.01411, allocations: 75.95 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.01436, allocations: 99.61 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.01484, allocations: 178.4 kB / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.01484, allocations: 3.938 kB / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005996/0.01544, allocations: 237.4 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01546, allocations: 4 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01546, allocations: 0 / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.01549, allocations: 4 kB / 0.8845 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.01576, allocations: 43.97 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.01576, allocations: 3.938 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.01594, allocations: 35.86 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01596, allocations: 4 kB / 0.8846 GB, free: 15.16 MB / 0.8542 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.0001513/0.01611, allocations: 133.8 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.01616, allocations: 19.91 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.01622, allocations: 25.8 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.01622, allocations: 4 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.01623, allocations: 0 / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01623, allocations: 4 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.0166, allocations: 201.1 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.01661, allocations: 3.938 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.01685, allocations: 43.91 kB / 0.885 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.01686, allocations: 4 kB / 0.885 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.01688, allocations: 4 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01688, allocations: 160 / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01688, allocations: 0 / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.01775, allocations: 346.6 kB / 0.8853 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.01779, allocations: 11.91 kB / 0.8853 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.01782, allocations: 4 kB / 0.8853 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.01797, allocations: 19.97 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.01805, allocations: 19.97 kB / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.01806, allocations: 4 kB / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001396/0.0182, allocations: 135.2 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0182, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002876/0.01849, allocations: 51.83 kB / 0.8855 GB, free: 14.09 MB / 0.8542 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.0001594/0.01865, allocations: 107.3 kB / 0.8856 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.0192, allocations: 167.8 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01921, allocations: 0 / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.01948, allocations: 93.94 kB / 0.8859 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.01985, allocations: 56.42 kB / 0.8859 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.02084, allocations: 389.2 kB / 0.8863 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.021, allocations: 133.3 kB / 0.8864 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.0211, allocations: 13.48 kB / 0.8865 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.02118, allocations: 28.48 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.02119, allocations: 4 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of Templates: time 0.006964/0.02815, allocations: 2.396 MB / 0.8888 GB, free: 10.73 MB / 0.8542 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.309472396038473]