Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.001375/0.001375, allocations: 79.58 kB / 19.76 MB, free: 2.031 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.001561/0.001561, allocations: 159.2 kB / 23.01 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") [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.002356/0.002356, allocations: 63.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3518, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003643/0.3555, allocations: 1.527 MB / 1.119 GB, free: 1.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3573, allocations: 0.8374 MB / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.3574, allocations: 7.938 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.3574, allocations: 7.938 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.3575, allocations: 11.86 kB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.3584, allocations: 179.5 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3586, allocations: 95.61 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3587, allocations: 15.92 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3589, allocations: 43.86 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.359, allocations: 43.81 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.359, allocations: 8 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.3594, allocations: 175.7 kB / 1.12 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.3595, allocations: 19.92 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3595, allocations: 27.86 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.3599, allocations: 199.4 kB / 1.121 GB, free: 15.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3599, allocations: 0 / 1.121 GB, free: 15.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3599, allocations: 0 / 1.121 GB, free: 15.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3599, allocations: 0 / 1.121 GB, free: 15.36 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007984/0.3607, allocations: 401.1 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.3608, allocations: 8.031 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.3611, allocations: 40.81 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3614, allocations: 142.3 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3614, allocations: 384 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3614, allocations: 8.375 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3617, allocations: 89.94 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3617, allocations: 0 / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3617, allocations: 0 / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3617, allocations: 4 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3619, allocations: 51.91 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.3624, allocations: 252.5 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3627, allocations: 82.47 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3628, allocations: 40.94 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3628, allocations: 3.938 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3631, allocations: 95.3 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.3631, allocations: 0 / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0005785/0.3636, allocations: 189.9 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.3637, allocations: 59.33 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3638, allocations: 136.5 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3639, allocations: 29.7 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.3639, allocations: 100 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.364, allocations: 23.84 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.364, allocations: 29.7 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3642, allocations: 326.8 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.3643, allocations: 19.98 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3644, allocations: 69.98 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3646, allocations: 101.9 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3646, allocations: 4 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002703/0.3649, allocations: 125.4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3649, allocations: 8 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3649, allocations: 80 / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3649, allocations: 8.188 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.365, allocations: 11.98 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.365, allocations: 11.92 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.3651, allocations: 15.89 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3651, allocations: 4 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001201/0.3652, allocations: 125.8 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.3653, allocations: 11.95 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.3653, allocations: 4.781 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3653, allocations: 4 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3653, allocations: 8 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3653, allocations: 0 / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.3659, allocations: 378.1 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3659, allocations: 0 / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.366, allocations: 4 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.366, allocations: 0 / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.366, allocations: 7.984 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.366, allocations: 0 / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.366, allocations: 0 / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.3664, allocations: 259.3 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.3664, allocations: 7.953 kB / 1.124 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3665, allocations: 0 / 1.124 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3666, allocations: 11.98 kB / 1.124 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3666, allocations: 7.938 kB / 1.124 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3666, allocations: 7.984 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.3667, allocations: 103.1 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3667, allocations: 3.938 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003766/0.3671, allocations: 63.86 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004209/0.3675, allocations: 166.4 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3678, allocations: 84.19 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3678, allocations: 4.062 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.3679, allocations: 43.92 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3682, allocations: 15.98 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.3687, allocations: 204.4 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.887e-05/0.3688, allocations: 80.14 kB / 1.124 GB, free: 11.01 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.3688, allocations: 11.98 kB / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.3689, allocations: 12.5 kB / 1.124 GB, free: 10.99 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/0.3689, allocations: 0 / 1.124 GB, free: 10.99 MB / 1.076 GB Notification: Performance of Templates: time 0.00583/0.3747, allocations: 1.995 MB / 1.126 GB, free: 9.023 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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: 8.946495860000141]