Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008905/0.008905, allocations: 102.8 kB / 15.74 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 198.1 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.91 kB / 1.018 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3527, allocations: 151.6 MB / 1.167 GB, free: 6.965 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002945/0.3557, allocations: 1.497 MB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3573, allocations: 0.8334 MB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.3574, allocations: 0 / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.3575, allocations: 11.88 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.3576, allocations: 11.86 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.3583, allocations: 147.5 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3584, allocations: 99.67 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3586, allocations: 16 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.3587, allocations: 43.78 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.3588, allocations: 47.81 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3588, allocations: 8 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.3591, allocations: 119.9 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.3591, allocations: 19.98 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.3592, allocations: 47.7 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.3595, allocations: 175.4 kB / 1.17 GB, free: 3.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3595, allocations: 0 / 1.17 GB, free: 3.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.347e-06/0.3596, allocations: 4 kB / 1.17 GB, free: 3.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3596, allocations: 0 / 1.17 GB, free: 3.871 MB / 0.92 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.0008416/0.3604, allocations: 490.2 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3605, allocations: 8.031 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.3605, allocations: 8.891 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3607, allocations: 182 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3607, allocations: 384 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3607, allocations: 16.31 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.361, allocations: 89.94 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.361, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.361, allocations: 3.938 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3611, allocations: 4 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3612, allocations: 43.97 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.3618, allocations: 332.6 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.3621, allocations: 78.55 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3622, allocations: 48.77 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3622, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.3625, allocations: 103.6 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3625, allocations: 3.938 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005159/0.363, allocations: 177.6 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3631, allocations: 59.41 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.3632, allocations: 130 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3632, allocations: 29.7 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3633, allocations: 100.1 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3633, allocations: 19.86 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.3633, allocations: 29.7 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3635, allocations: 322.8 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.3635, allocations: 27.98 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3637, allocations: 77.92 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3638, allocations: 105.9 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3638, allocations: 4 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.3641, allocations: 117.5 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3641, allocations: 4 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3641, allocations: 11.92 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3641, allocations: 4 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.3642, allocations: 12.19 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3642, allocations: 4 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.3643, allocations: 19.88 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3643, allocations: 4 kB / 1.172 GB, free: 0.9727 MB / 0.92 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.000107/0.3644, allocations: 132.5 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.3645, allocations: 7.953 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.3645, allocations: 8.703 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3645, allocations: 4 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3645, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3645, allocations: 4 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.3651, allocations: 422.7 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3651, allocations: 0 / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.3651, allocations: 7.984 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3652, allocations: 4 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3652, allocations: 4 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3652, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3652, allocations: 11.81 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3656, allocations: 251.5 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.3656, allocations: 81.06 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3657, allocations: 8 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3658, allocations: 7.984 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3658, allocations: 15.92 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3659, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.3659, allocations: 103.3 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3659, allocations: 3.938 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003265/0.3663, allocations: 51.8 kB / 1.173 GB, free: 15.77 MB / 0.9356 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.0003494/0.3666, allocations: 170.8 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3669, allocations: 95.86 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3669, allocations: 0 / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.367, allocations: 51.91 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3673, allocations: 10.39 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.3678, allocations: 208 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3681, allocations: 0.6885 MB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.3681, allocations: 4 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3681, allocations: 15.42 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3681, allocations: 0 / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.004771/0.3729, allocations: 1.892 MB / 1.176 GB, free: 12.61 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches