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.001507/0.001507, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001675/0.001675, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.342/1.342, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.955/2.955, allocations: 497.2 MB / 0.7845 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] 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.001815/0.001815, allocations: 64.52 kB / 1.139 GB, free: 33.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2913, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00249/0.2938, allocations: 1.176 MB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2951, allocations: 1.053 MB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.2952, allocations: 8 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.489e-05/0.2953, allocations: 19.73 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.2954, allocations: 43.58 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.2957, allocations: 87.84 kB / 1.312 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.296, allocations: 247.3 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2962, allocations: 75.23 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.2964, allocations: 95.62 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2965, allocations: 111.5 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.2966, allocations: 24 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.2966, allocations: 24 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.2966, allocations: 55.83 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2967, allocations: 107.4 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.2971, allocations: 282.8 kB / 1.313 GB, free: 12.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2971, allocations: 7.938 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2971, allocations: 0 / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2971, allocations: 0 / 1.313 GB, free: 12.55 MB / 1.014 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.0009667/0.298, allocations: 0.5412 MB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2981, allocations: 8.625 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.2981, allocations: 24.8 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2985, allocations: 247.9 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/0.2986, allocations: 67.97 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.2986, allocations: 24.38 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.299, allocations: 194.5 kB / 1.314 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2991, allocations: 0 / 1.314 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2991, allocations: 12 kB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2991, allocations: 7.938 kB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.2995, allocations: 147.9 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.3004, allocations: 0.5742 MB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.3008, allocations: 130.8 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.301, allocations: 84.75 kB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.301, allocations: 7.984 kB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3013, allocations: 139.3 kB / 1.315 GB, free: 10.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.3013, allocations: 4 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0007442/0.3021, allocations: 267.1 kB / 1.315 GB, free: 9.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3021, allocations: 59.39 kB / 1.315 GB, free: 9.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3023, allocations: 193.9 kB / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3023, allocations: 29.7 kB / 1.315 GB, free: 9.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.3024, allocations: 144.4 kB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.3025, allocations: 59.48 kB / 1.315 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.3026, allocations: 41.7 kB / 1.315 GB, free: 9.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3027, allocations: 334.8 kB / 1.316 GB, free: 9.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3029, allocations: 71.95 kB / 1.316 GB, free: 8.957 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3032, allocations: 105.8 kB / 1.316 GB, free: 8.848 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.3036, allocations: 178.4 kB / 1.316 GB, free: 8.664 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3036, allocations: 0 / 1.316 GB, free: 8.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005094/0.3041, allocations: 233.4 kB / 1.316 GB, free: 8.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3041, allocations: 4 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3041, allocations: 0 / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3041, allocations: 4 kB / 1.316 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3043, allocations: 43.97 kB / 1.316 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3043, allocations: 0 / 1.316 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.3045, allocations: 23.94 kB / 1.316 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3045, allocations: 11.94 kB / 1.316 GB, free: 8.344 MB / 1.014 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.000134/0.3046, allocations: 145.7 kB / 1.317 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.3047, allocations: 31.72 kB / 1.317 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.3047, allocations: 17.88 kB / 1.317 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3047, allocations: 0 / 1.317 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3047, allocations: 4 kB / 1.317 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3047, allocations: 3.984 kB / 1.317 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.305, allocations: 297.4 kB / 1.317 GB, free: 7.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.305, allocations: 0 / 1.317 GB, free: 7.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.3053, allocations: 43.91 kB / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3053, allocations: 0 / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3053, allocations: 4 kB / 1.317 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3053, allocations: 4 kB / 1.317 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3053, allocations: 0 / 1.317 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.306, allocations: 338.3 kB / 1.317 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3061, allocations: 100.9 kB / 1.317 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3061, allocations: 4 kB / 1.317 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3063, allocations: 19.97 kB / 1.317 GB, free: 7.258 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.3063, allocations: 27.86 kB / 1.317 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3064, allocations: 7.984 kB / 1.317 GB, free: 7.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001281/0.3065, allocations: 143.1 kB / 1.318 GB, free: 7.082 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3065, allocations: 4.062 kB / 1.318 GB, free: 7.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002269/0.3067, allocations: 36 kB / 1.318 GB, free: 7.043 MB / 1.014 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.0001216/0.3068, allocations: 109 kB / 1.318 GB, free: 6.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.3073, allocations: 171.9 kB / 1.318 GB, free: 6.762 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3073, allocations: 0 / 1.318 GB, free: 6.762 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.3076, allocations: 93.42 kB / 1.318 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3078, allocations: 38.52 kB / 1.318 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.3086, allocations: 436.6 kB / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.309, allocations: 0.74 MB / 1.319 GB, free: 5.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.138e-05/0.3091, allocations: 21.48 kB / 1.319 GB, free: 5.387 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.3091, allocations: 27.42 kB / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3091, allocations: 0 / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of Templates: time 0.005741/0.3149, allocations: 2.419 MB / 1.322 GB, free: 2.98 MB / 1.014 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 -s cvode -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_2/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: 7.958252461627126]