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.00174/0.00174, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002304/0.002304, allocations: 211.7 kB / 23 MB, free: 4.57 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.301/3.301, allocations: 0.49 GB / 0.7958 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.00279/0.00279, allocations: 71.55 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3716, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002426/0.3741, allocations: 1.166 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3755, allocations: 1.104 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.3756, allocations: 7.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.634e-05/0.3757, allocations: 23.67 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3758, allocations: 39.58 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.3762, allocations: 95.84 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.3765, allocations: 247.3 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.3766, allocations: 71.81 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3769, allocations: 111.6 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.377, allocations: 103.5 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.377, allocations: 24 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.3771, allocations: 28 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.3772, allocations: 55.83 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3773, allocations: 111.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.3776, allocations: 290.8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3776, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3776, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3776, allocations: 0 / 1.33 GB, free: 14.02 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.0009453/0.3786, allocations: 477.1 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3786, allocations: 12.03 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.3789, allocations: 48.72 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3792, allocations: 182.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3793, allocations: 127.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.3793, allocations: 16.38 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3798, allocations: 186.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3798, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3798, allocations: 8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3798, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.3802, allocations: 163.8 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.3811, allocations: 0.542 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.3815, allocations: 138.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.3817, allocations: 78.69 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3818, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.3821, allocations: 152.4 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.3821, allocations: 0 / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.000745/0.3828, allocations: 266.8 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3829, allocations: 55.41 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3831, allocations: 199.2 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3831, allocations: 29.7 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.3832, allocations: 136.6 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.3833, allocations: 63.42 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.3833, allocations: 49.64 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3835, allocations: 334.8 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.3837, allocations: 79.89 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3839, allocations: 102.5 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.3843, allocations: 174.4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3843, allocations: 4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000518/0.3849, allocations: 233.4 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3849, allocations: 11.92 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3849, allocations: 0 / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3849, allocations: 4 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3851, allocations: 39.97 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3851, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3853, allocations: 31.88 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3853, allocations: 7.938 kB / 1.334 GB, free: 9.902 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.0001351/0.3854, allocations: 139.5 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3855, allocations: 23.84 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.3855, allocations: 17.81 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3855, allocations: 0 / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3855, allocations: 0 / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3855, allocations: 0 / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.3858, allocations: 276.4 kB / 1.335 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3858, allocations: 4 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.386, allocations: 39.91 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.386, allocations: 0 / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3861, allocations: 7.984 kB / 1.335 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3861, allocations: 4 kB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3861, allocations: 0 / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.3868, allocations: 330.5 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3869, allocations: 23.81 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3869, allocations: 8 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.387, allocations: 15.98 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.3871, allocations: 15.91 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3871, allocations: 16.06 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001304/0.3872, allocations: 144.4 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3872, allocations: 0 / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002507/0.3875, allocations: 47.89 kB / 1.335 GB, free: 8.738 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.0001325/0.3876, allocations: 103.2 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.3881, allocations: 167.8 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3881, allocations: 0 / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.3883, allocations: 87.88 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3887, allocations: 46.02 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.3895, allocations: 463.5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3899, allocations: 0.74 MB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.39, allocations: 19.44 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.39, allocations: 0 / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of Templates: time 0.005309/0.3953, allocations: 2.654 MB / 1.34 GB, free: 4.426 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.860550501995021]