Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 65.44 kB / 0.912 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3484, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003467/0.3519, allocations: 1.499 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3534, allocations: 0.8372 MB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3534, allocations: 4 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.3535, allocations: 7.875 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.3536, allocations: 15.84 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00086/0.3545, allocations: 151.5 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3546, allocations: 83.78 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3548, allocations: 31.89 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3549, allocations: 35.91 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.355, allocations: 47.77 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3551, allocations: 8 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.3554, allocations: 127.8 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.3555, allocations: 23.92 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.3555, allocations: 39.78 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.3559, allocations: 175.8 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3559, allocations: 4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.356, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 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.0007775/0.3567, allocations: 486.5 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3568, allocations: 8.031 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.3569, allocations: 12.83 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.357, allocations: 180.2 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3571, allocations: 4.375 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3571, allocations: 12.38 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3573, allocations: 89.88 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3574, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3574, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3574, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.3576, allocations: 43.97 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.3581, allocations: 340.6 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3584, allocations: 74.55 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3585, allocations: 44.83 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3585, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.3588, allocations: 95.36 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 3.967e-06/0.3588, allocations: 96 / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005274/0.3594, allocations: 185.6 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.3594, allocations: 59.41 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3595, allocations: 130.1 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3595, allocations: 29.7 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.3596, allocations: 96.12 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3596, allocations: 19.75 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.3597, allocations: 29.7 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3598, allocations: 326.8 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.3599, allocations: 19.98 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.36, allocations: 73.94 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3602, allocations: 105.9 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3602, allocations: 4 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002446/0.3604, allocations: 121.3 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3605, allocations: 12.19 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3605, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3605, allocations: 7.938 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.3606, allocations: 19.92 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3606, allocations: 4 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.3607, allocations: 7.984 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3607, allocations: 4 kB / 1.074 GB, free: 4.465 MB / 0.8262 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 9.591e-05/0.3608, allocations: 131.3 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3608, allocations: 11.91 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.3609, allocations: 4.719 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3609, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3609, allocations: 3.984 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3609, allocations: 4 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.3615, allocations: 434.2 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3615, allocations: 4 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.3615, allocations: 4 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3615, allocations: 4 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3615, allocations: 7.984 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3616, allocations: 4 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3616, allocations: 3.984 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3619, allocations: 239.5 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.362, allocations: 81.02 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.362, allocations: 12 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3621, allocations: 11.97 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3622, allocations: 7.938 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3622, allocations: 7.984 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.3623, allocations: 100.8 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.204e-06/0.3623, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003361/0.3626, allocations: 55.83 kB / 1.075 GB, free: 3.254 MB / 0.8262 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.000391/0.363, allocations: 171 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.3633, allocations: 87.89 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3633, allocations: 0 / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3635, allocations: 56.28 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3638, allocations: 18.2 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.3642, allocations: 204.2 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3645, allocations: 0.6963 MB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.3645, allocations: 7.781 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.3646, allocations: 15.42 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3646, allocations: 0 / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of Templates: time 0.004924/0.3695, allocations: 1.879 MB / 1.078 GB, free: 100 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches