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.0009692/0.0009692, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001056/0.001056, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.033/1.033, allocations: 177.1 MB / 204.5 MB, free: 5.531 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 2.095/2.095, allocations: 429.5 MB / 0.6743 GB, free: 3.875 MB / 0.6355 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.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 3.727e-06/3.727e-06, allocations: 4 kB / 0.8794 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.81e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00214/0.002168, allocations: 1.107 MB / 0.8805 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003513, allocations: 1.105 MB / 0.8815 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.003632, allocations: 5.594 kB / 0.8815 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.258e-05/0.003685, allocations: 23.67 kB / 0.8816 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.003837, allocations: 41.47 kB / 0.8816 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.004149, allocations: 95.81 kB / 0.8817 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.004408, allocations: 247.2 kB / 0.8819 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.004568, allocations: 76.91 kB / 0.882 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.004845, allocations: 150.4 kB / 0.8821 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004954, allocations: 75.7 kB / 0.8822 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.004988, allocations: 24 kB / 0.8822 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.005045, allocations: 32 kB / 0.8823 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.005086, allocations: 47.83 kB / 0.8823 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.005153, allocations: 75.75 kB / 0.8824 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.005375, allocations: 176 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005377, allocations: 0 / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005378, allocations: 1.344 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.005382, allocations: 0 / 0.8826 GB, free: 2.594 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.0006515/0.006034, allocations: 0.5619 MB / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.006069, allocations: 12.03 kB / 0.8831 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.006259, allocations: 48.78 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006477, allocations: 184.2 kB / 0.8833 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.006563, allocations: 127.4 kB / 0.8835 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.006595, allocations: 20.33 kB / 0.8835 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.006812, allocations: 138.8 kB / 0.8836 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.006823, allocations: 4.188 kB / 0.8836 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.006844, allocations: 12.38 kB / 0.8836 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.006852, allocations: 7.938 kB / 0.8836 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.006948, allocations: 48.62 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.007549, allocations: 471.7 kB / 0.8841 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.007729, allocations: 83.27 kB / 0.8842 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.007782, allocations: 35.67 kB / 0.8842 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.007804, allocations: 7.938 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.007942, allocations: 102.5 kB / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.007944, allocations: 0 / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002793/0.008224, allocations: 151.6 kB / 0.8845 GB, free: 464 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.00826, allocations: 59.34 kB / 0.8846 GB, free: 392 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.008386, allocations: 219.1 kB / 0.8848 GB, free: 156 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.008406, allocations: 33.7 kB / 0.8848 GB, free: 116 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.008503, allocations: 187.2 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.008554, allocations: 63.42 kB / 0.885 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.008624, allocations: 55.34 kB / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.00876, allocations: 0.504 MB / 0.8856 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.008808, allocations: 19.98 kB / 0.8856 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.008877, allocations: 56.77 kB / 0.8857 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.008996, allocations: 90.91 kB / 0.8857 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008998, allocations: 0 / 0.8857 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002092/0.009207, allocations: 149.4 kB / 0.8859 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.009223, allocations: 10.03 kB / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.009227, allocations: 0 / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.009238, allocations: 0 / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.00938, allocations: 47.92 kB / 0.8859 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.009384, allocations: 0 / 0.8859 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.009462, allocations: 19.88 kB / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.009475, allocations: 8 kB / 0.886 GB, free: 14.86 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 8.987e-05/0.009565, allocations: 160.6 kB / 0.8861 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.009599, allocations: 31.83 kB / 0.8861 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.009633, allocations: 21.81 kB / 0.8862 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.009637, allocations: 7.938 kB / 0.8862 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.00964, allocations: 4 kB / 0.8862 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.009646, allocations: 7.984 kB / 0.8862 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.009805, allocations: 165.1 kB / 0.8863 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009806, allocations: 0 / 0.8863 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.009938, allocations: 27.98 kB / 0.8864 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.00994, allocations: 0 / 0.8864 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.009956, allocations: 11.94 kB / 0.8864 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.009959, allocations: 3.984 kB / 0.8864 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00996, allocations: 0 / 0.8864 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01024, allocations: 192.2 kB / 0.8866 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.01027, allocations: 23.73 kB / 0.8866 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01029, allocations: 8.031 kB / 0.8866 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.01036, allocations: 15.98 kB / 0.8866 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.01041, allocations: 19.97 kB / 0.8866 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01042, allocations: 7.984 kB / 0.8866 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.0105, allocations: 164.2 kB / 0.8868 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 0 / 0.8868 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002177/0.01071, allocations: 43.89 kB / 0.8868 GB, free: 13.91 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.0001009/0.01081, allocations: 103.2 kB / 0.8869 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01099, allocations: 104.7 kB / 0.887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.011, allocations: 0 / 0.887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.01107, allocations: 51.58 kB / 0.8871 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01134, allocations: 52.03 kB / 0.8871 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.01213, allocations: 396.5 kB / 0.8875 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.01217, allocations: 76.22 kB / 0.8876 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.725e-05/0.01225, allocations: 17.48 kB / 0.8876 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.01237, allocations: 110.2 kB / 0.8877 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/0.01237, allocations: 0 / 0.8877 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.004481/0.01686, allocations: 2.661 MB / 0.8903 GB, free: 10.36 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5187387890182436]