Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007782/0.0007782, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008172/0.0008172, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.875/0.875, allocations: 177.2 MB / 203.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.704/1.704, allocations: 377.9 MB / 0.6229 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.879e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001641/0.00167, allocations: 1.083 MB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002786, allocations: 1.073 MB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.002889, allocations: 4 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.002934, allocations: 19.73 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.003073, allocations: 55.5 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.003391, allocations: 95.77 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.0036, allocations: 247.2 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.003748, allocations: 71.86 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.003988, allocations: 147.6 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.004082, allocations: 79.75 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.004111, allocations: 24 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.004162, allocations: 27.98 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.004196, allocations: 55.77 kB / 0.9851 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.004254, allocations: 79.81 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.004517, allocations: 299 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.00452, allocations: 0 / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004522, allocations: 0 / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.004527, allocations: 3.938 kB / 0.9854 GB, free: 14.73 MB / 0.948 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.0006699/0.005197, allocations: 476.2 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.005233, allocations: 16.03 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.005393, allocations: 40.77 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.005663, allocations: 185.9 kB / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.005745, allocations: 123.4 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.005774, allocations: 20.31 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.006058, allocations: 190.8 kB / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.006073, allocations: 4.188 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.00609, allocations: 12.38 kB / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.006098, allocations: 7.938 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.006344, allocations: 151.9 kB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.006946, allocations: 459.8 kB / 0.9871 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.007215, allocations: 142.7 kB / 0.9872 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.007334, allocations: 80.81 kB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.007362, allocations: 3.984 kB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.007564, allocations: 143.3 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.007567, allocations: 0 / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007287/0.008295, allocations: 273.4 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.008332, allocations: 55.41 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.008445, allocations: 178.8 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.008463, allocations: 29.7 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.128e-05/0.008524, allocations: 136.5 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.008566, allocations: 63.48 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.008621, allocations: 49.64 kB / 0.9882 GB, free: 11.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.0087, allocations: 330.8 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.008823, allocations: 75.94 kB / 0.9885 GB, free: 11.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.008948, allocations: 96.5 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.009179, allocations: 170.4 kB / 0.9888 GB, free: 11.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.009182, allocations: 3.938 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000297/0.009479, allocations: 241.4 kB / 0.989 GB, free: 10.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.009493, allocations: 4 kB / 0.989 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009499, allocations: 0 / 0.989 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.009514, allocations: 7.984 kB / 0.989 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.009632, allocations: 47.91 kB / 0.9891 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.009637, allocations: 0 / 0.9891 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.009706, allocations: 31.88 kB / 0.9891 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.009716, allocations: 4 kB / 0.9891 GB, free: 10.74 MB / 0.948 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.72e-05/0.009813, allocations: 140.5 kB / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.009831, allocations: 15.91 kB / 0.9893 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.009864, allocations: 21.8 kB / 0.9893 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.009868, allocations: 4 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.009872, allocations: 3.938 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.009876, allocations: 0 / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.01002, allocations: 197.1 kB / 0.9895 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.01002, allocations: 11.94 kB / 0.9895 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01014, allocations: 39.97 kB / 0.9895 GB, free: 10.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.01015, allocations: 4 kB / 0.9895 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01016, allocations: 0 / 0.9895 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01016, allocations: 0 / 0.9895 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01016, allocations: 0 / 0.9895 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.01061, allocations: 347.2 kB / 0.9899 GB, free: 9.918 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.01063, allocations: 15.88 kB / 0.9899 GB, free: 9.902 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.01065, allocations: 7.984 kB / 0.9899 GB, free: 9.895 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.01071, allocations: 19.98 kB / 0.9899 GB, free: 9.875 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.01077, allocations: 15.97 kB / 0.9899 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.01078, allocations: 4 kB / 0.9899 GB, free: 9.855 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.01085, allocations: 132.3 kB / 0.9901 GB, free: 9.727 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01085, allocations: 0 / 0.9901 GB, free: 9.727 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001755/0.01102, allocations: 47.88 kB / 0.9901 GB, free: 9.68 MB / 0.948 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 9.86e-05/0.01112, allocations: 107.3 kB / 0.9902 GB, free: 9.566 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.01141, allocations: 167.8 kB / 0.9904 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01141, allocations: 0 / 0.9904 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.01154, allocations: 91.83 kB / 0.9905 GB, free: 9.312 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01177, allocations: 47.91 kB / 0.9905 GB, free: 9.266 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.01236, allocations: 416.2 kB / 0.9909 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.01244, allocations: 133.4 kB / 0.991 GB, free: 8.664 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.0125, allocations: 20.48 kB / 0.991 GB, free: 8.641 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.0125, allocations: 0 / 0.991 GB, free: 8.641 MB / 0.948 GB Notification: Performance of Templates: time 0.003287/0.01579, allocations: 2.679 MB / 0.9937 GB, free: 5.98 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.413528569974005]