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.001603/0.001603, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001729/0.001729, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 69.89 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002588/0.3249, allocations: 1.078 MB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3264, allocations: 1.081 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.3265, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.132e-05/0.3266, allocations: 19.73 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3268, allocations: 47.58 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3271, allocations: 95.84 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.3274, allocations: 251.2 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3276, allocations: 60.75 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.3278, allocations: 111.6 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3279, allocations: 91.53 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.328, allocations: 27.94 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.615e-05/0.328, allocations: 24 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.3281, allocations: 59.77 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.3282, allocations: 91.52 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.3285, allocations: 294.8 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3285, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3285, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3285, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 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.0009376/0.3295, allocations: 473.1 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3295, allocations: 12.03 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.3298, allocations: 48.73 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.3301, allocations: 182.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.3302, allocations: 127.3 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3303, allocations: 16.38 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.3307, allocations: 194.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3307, allocations: 3.953 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3307, allocations: 8 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3307, allocations: 8 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.3312, allocations: 159.8 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.332, allocations: 455.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3324, allocations: 134.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3326, allocations: 81.12 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3326, allocations: 7.906 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.3329, allocations: 136.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.3329, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007584/0.3337, allocations: 275.1 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3338, allocations: 59.39 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3339, allocations: 174.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.334, allocations: 25.7 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.3341, allocations: 140.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.3341, allocations: 67.47 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.3342, allocations: 41.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3344, allocations: 330.8 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3346, allocations: 79.89 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.3348, allocations: 102.5 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.3353, allocations: 174.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3353, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000537/0.3358, allocations: 237.4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3358, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3358, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3358, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.336, allocations: 51.84 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3361, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3362, allocations: 35.86 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3362, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 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.0001392/0.3364, allocations: 139.9 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3364, allocations: 19.89 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.3364, allocations: 21.8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.3364, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3365, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3365, allocations: 3.938 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3367, allocations: 205.1 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3367, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.3369, allocations: 43.97 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3369, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3369, allocations: 3.938 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.337, allocations: 4 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.337, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.3377, allocations: 342.4 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.3378, allocations: 11.94 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.3378, allocations: 4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3379, allocations: 19.97 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.338, allocations: 11.98 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.338, allocations: 7.984 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001263/0.3382, allocations: 136.3 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3382, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002606/0.3384, allocations: 47.84 kB / 1.334 GB, free: 9.496 MB / 1.029 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.0001337/0.3385, allocations: 111.2 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.3391, allocations: 171.9 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3391, allocations: 7.938 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.3393, allocations: 83.89 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3396, allocations: 47.48 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.3405, allocations: 451.6 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3406, allocations: 133.4 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.3407, allocations: 23.44 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3407, allocations: 0 / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of Templates: time 0.004899/0.3456, allocations: 2.663 MB / 1.338 GB, free: 5.785 MB / 1.029 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/jenkins1/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: 11.163768796250224]