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.001911/0.001911, allocations: 107.1 kB / 16.45 MB, free: 6.508 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.002458/0.002458, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.268/3.268, allocations: 0.4899 GB / 0.7916 GB, free: 33.34 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.002086/0.002086, allocations: 64.72 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002589/0.4002, allocations: 1.174 MB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4018, allocations: 1.092 MB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4019, allocations: 0 / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.4019, allocations: 19.73 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.4021, allocations: 43.59 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.4025, allocations: 99.83 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.4028, allocations: 243.3 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.403, allocations: 75.22 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.4033, allocations: 103.6 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.4035, allocations: 107.5 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.4035, allocations: 24 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.609e-05/0.4036, allocations: 27.98 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.4037, allocations: 55.78 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.4038, allocations: 111.4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.4042, allocations: 282.8 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4042, allocations: 8 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4042, allocations: 0 / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4042, allocations: 3.938 kB / 1.325 GB, free: 15.39 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.001078/0.4053, allocations: 0.5335 MB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4053, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.4056, allocations: 48.73 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.406, allocations: 248 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4061, allocations: 67.92 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.4062, allocations: 20.38 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.4067, allocations: 193.8 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4067, allocations: 3.953 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.4067, allocations: 8 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4067, allocations: 4 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.4072, allocations: 155.9 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4082, allocations: 0.582 MB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.4086, allocations: 134.7 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.4088, allocations: 84.81 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4089, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.4092, allocations: 143.6 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.4092, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0009332/0.4101, allocations: 274.9 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.4102, allocations: 59.41 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.4105, allocations: 192.4 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4105, allocations: 25.7 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4107, allocations: 136.5 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.4108, allocations: 67.42 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.4109, allocations: 45.64 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003843/0.4113, allocations: 338.8 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.4115, allocations: 71.95 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.4117, allocations: 100.3 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.4122, allocations: 174.5 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4122, allocations: 0 / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005465/0.4127, allocations: 233.4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4127, allocations: 8 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4127, allocations: 0 / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4128, allocations: 4 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.413, allocations: 47.91 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.413, allocations: 4 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4132, allocations: 23.88 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4132, allocations: 11.94 kB / 1.328 GB, free: 11.14 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.0001602/0.4133, allocations: 129.8 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.4134, allocations: 19.86 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.4134, allocations: 29.88 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4134, allocations: 0 / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4134, allocations: 7.875 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4135, allocations: 3.984 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.4138, allocations: 285.4 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4138, allocations: 0 / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.4141, allocations: 39.97 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4141, allocations: 4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.4141, allocations: 3.984 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4141, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4141, allocations: 7.938 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.415, allocations: 340.5 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.4151, allocations: 100.9 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.4151, allocations: 64 / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4153, allocations: 23.97 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.4153, allocations: 19.92 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4154, allocations: 8 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001301/0.4155, allocations: 144.2 kB / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4155, allocations: 0 / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002527/0.4157, allocations: 47.89 kB / 1.33 GB, free: 9.852 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.0002513/0.416, allocations: 111.2 kB / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.4165, allocations: 169.7 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4165, allocations: 4 kB / 1.33 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.4168, allocations: 87.88 kB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4171, allocations: 42.31 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.4181, allocations: 432.8 kB / 1.33 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.4186, allocations: 0.7361 MB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.417e-05/0.4187, allocations: 21.53 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.4187, allocations: 15.44 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4187, allocations: 4 kB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of Templates: time 0.007015/0.4258, allocations: 2.383 MB / 1.334 GB, free: 5.828 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/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: 9.079429632984102]