Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_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_latest_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.006445/0.006445, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.0011/0.0011, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002711/0.358, allocations: 1.507 MB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3594, allocations: 0.826 MB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.3595, allocations: 4 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.3596, allocations: 7.875 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.3597, allocations: 15.86 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.3603, allocations: 159.5 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3605, allocations: 87.7 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.3606, allocations: 16 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.3607, allocations: 47.89 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.3608, allocations: 43.83 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3608, allocations: 8 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.3611, allocations: 123.8 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.3611, allocations: 23.89 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.3612, allocations: 39.8 kB / 1.211 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3614, allocations: 175.6 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3615, allocations: 3.984 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3615, allocations: 0 / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3615, allocations: 7.938 kB / 1.211 GB, free: 6.594 MB / 0.9669 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.0007507/0.3622, allocations: 482.5 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3623, allocations: 8.625 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3623, allocations: 8.844 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3625, allocations: 180.2 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.3625, allocations: 4.375 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3625, allocations: 8.359 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3628, allocations: 89.95 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3628, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3628, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3628, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.363, allocations: 51.91 kB / 1.212 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.3636, allocations: 332.6 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3638, allocations: 74.55 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3639, allocations: 48.83 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3639, allocations: 0 / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.3642, allocations: 95.39 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3642, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005/0.3647, allocations: 185.5 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3647, allocations: 55.55 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3649, allocations: 136.6 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3649, allocations: 33.69 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.365, allocations: 100 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.365, allocations: 15.75 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.365, allocations: 33.7 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3652, allocations: 322.8 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.3653, allocations: 27.98 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3654, allocations: 76.17 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3655, allocations: 97.94 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3656, allocations: 0 / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000248/0.3658, allocations: 133.4 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3658, allocations: 5.719 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3658, allocations: 7.984 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3659, allocations: 0 / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.366, allocations: 16.17 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.366, allocations: 8 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.3661, allocations: 11.88 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3661, allocations: 8 kB / 1.213 GB, free: 3.715 MB / 0.9669 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.0001005/0.3662, allocations: 121.7 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.3662, allocations: 7.906 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3662, allocations: 16.7 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3662, allocations: 0 / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3663, allocations: 4 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3663, allocations: 0 / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.3668, allocations: 442.5 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3668, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3669, allocations: 7.984 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3669, allocations: 0 / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3669, allocations: 4 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3669, allocations: 0 / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3669, allocations: 8.016 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3673, allocations: 247.4 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3673, allocations: 81.02 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.3674, allocations: 11.92 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3675, allocations: 4 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3675, allocations: 15.92 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3675, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.3676, allocations: 95.27 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3676, allocations: 0 / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003136/0.3679, allocations: 51.98 kB / 1.214 GB, free: 2.512 MB / 0.9669 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.0003342/0.3683, allocations: 180 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3685, allocations: 83.89 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3685, allocations: 3.938 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3687, allocations: 51.91 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.369, allocations: 15.78 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.3694, allocations: 204.6 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3696, allocations: 0.6885 MB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.3697, allocations: 12.06 kB / 1.216 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3697, allocations: 11.44 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3697, allocations: 0 / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.004703/0.3744, allocations: 1.935 MB / 1.217 GB, free: 15.31 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches