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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 109.4 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 197.3 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 490 MB / 0.7695 GB, free: 3.059 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002218/0.002218, allocations: 71.91 kB / 1.104 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.82, allocations: 164 MB / 1.264 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002182/0.8222, allocations: 1.171 MB / 1.265 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.8235, allocations: 1.04 MB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.8236, allocations: 3.438 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.517e-05/0.8237, allocations: 22.97 kB / 1.266 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.8238, allocations: 45.11 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.8241, allocations: 98.03 kB / 1.266 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.8244, allocations: 241 kB / 1.266 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.8246, allocations: 88.56 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.8247, allocations: 100.6 kB / 1.267 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.8249, allocations: 104.3 kB / 1.267 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.8249, allocations: 24.09 kB / 1.267 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.825, allocations: 28.5 kB / 1.267 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.825, allocations: 57.7 kB / 1.267 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.8251, allocations: 108.5 kB / 1.267 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.8255, allocations: 289.5 kB / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.8255, allocations: 0 / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8255, allocations: 0.9062 kB / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.8255, allocations: 0 / 1.267 GB, free: 5.328 MB / 0.9981 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.0008152/0.8263, allocations: 0.5367 MB / 1.268 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.8264, allocations: 9.469 kB / 1.268 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.8264, allocations: 25.36 kB / 1.268 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.8267, allocations: 245.7 kB / 1.268 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.8268, allocations: 75.2 kB / 1.268 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.8268, allocations: 24.7 kB / 1.268 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.8273, allocations: 192.3 kB / 1.268 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.8273, allocations: 0.6875 kB / 1.268 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.8273, allocations: 10.31 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8273, allocations: 4.469 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.8278, allocations: 149.2 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.8286, allocations: 0.5813 MB / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.8289, allocations: 141.7 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.8292, allocations: 83.08 kB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.8292, allocations: 10.34 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.8295, allocations: 146.2 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.8295, allocations: 0.8125 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000743/0.8303, allocations: 272.3 kB / 1.27 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.8303, allocations: 58.77 kB / 1.27 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.8305, allocations: 188.2 kB / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.8305, allocations: 31.95 kB / 1.27 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.8306, allocations: 137 kB / 1.27 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.8306, allocations: 60.05 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.8307, allocations: 44.88 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.8308, allocations: 333.1 kB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.831, allocations: 71.67 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.8312, allocations: 101 kB / 1.271 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.8316, allocations: 183 kB / 1.271 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8316, allocations: 0.8125 kB / 1.271 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000495/0.8321, allocations: 233.9 kB / 1.271 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.8321, allocations: 10.72 kB / 1.271 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8321, allocations: 1.625 kB / 1.271 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8322, allocations: 1.562 kB / 1.271 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.8324, allocations: 43.8 kB / 1.271 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8324, allocations: 6.172 kB / 1.271 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.8326, allocations: 28.42 kB / 1.271 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.8326, allocations: 13.67 kB / 1.271 GB, free: 2.637 MB / 0.9981 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.134e-05/0.8327, allocations: 139.3 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.8327, allocations: 19.73 kB / 1.271 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.8328, allocations: 25.86 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8328, allocations: 1.625 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8328, allocations: 0.9062 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8328, allocations: 3.938 kB / 1.271 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.833, allocations: 292.4 kB / 1.272 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.833, allocations: 0 / 1.272 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.8333, allocations: 40.97 kB / 1.272 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8333, allocations: 4.875 kB / 1.272 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.8333, allocations: 2.359 kB / 1.272 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8333, allocations: 1.875 kB / 1.272 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8333, allocations: 0 / 1.272 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.834, allocations: 342.5 kB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.8341, allocations: 99.73 kB / 1.272 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.8341, allocations: 5.547 kB / 1.272 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.8343, allocations: 19.5 kB / 1.272 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.8343, allocations: 26.12 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.8344, allocations: 4.219 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001019/0.8345, allocations: 141.9 kB / 1.272 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8345, allocations: 0 / 1.272 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002426/0.8347, allocations: 40.34 kB / 1.272 GB, free: 1.816 MB / 0.9981 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.0001066/0.8348, allocations: 114.3 kB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.8353, allocations: 178 kB / 1.272 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8354, allocations: 0 / 1.272 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.8356, allocations: 93.38 kB / 1.273 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.8359, allocations: 45.83 kB / 1.273 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.8366, allocations: 451.4 kB / 1.273 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.8368, allocations: 0.737 MB / 1.274 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.8369, allocations: 24 kB / 1.274 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.8369, allocations: 0 / 1.274 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of Templates: time 0.004808/0.8417, allocations: 2.634 MB / 1.276 GB, free: 356 kB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 10.951936105964705]