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.001495/0.001494, allocations: 106 kB / 16.41 MB, free: 6.516 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.001554/0.001554, allocations: 187 kB / 17.34 MB, free: 5.738 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7725, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.00299/0.7755, allocations: 1.505 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.7771, allocations: 0.8218 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.7772, allocations: 3.938 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.975e-05/0.7773, allocations: 7.875 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.7773, allocations: 11.88 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.7782, allocations: 159.5 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.7783, allocations: 87.81 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.7785, allocations: 12 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.7786, allocations: 47.77 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.7787, allocations: 43.83 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.7787, allocations: 12 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.779, allocations: 131.8 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.7791, allocations: 19.91 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.7791, allocations: 39.84 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.7795, allocations: 179.4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7795, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7795, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7795, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 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.000812/0.7803, allocations: 484.4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7804, allocations: 12.02 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.7805, allocations: 8.844 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.7806, allocations: 176.2 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.7806, allocations: 4.312 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.7807, allocations: 8.375 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.7809, allocations: 93.88 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.781, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.781, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.781, allocations: 4 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.7812, allocations: 51.95 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.7818, allocations: 332.6 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.782, allocations: 82.55 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.7822, allocations: 44.83 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.7822, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.7825, allocations: 95.38 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.7825, allocations: 4 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005359/0.783, allocations: 185.5 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.7831, allocations: 55.41 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.7832, allocations: 134 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7832, allocations: 29.7 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.7833, allocations: 100.3 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.7833, allocations: 11.81 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.7834, allocations: 33.7 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7835, allocations: 326.8 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.7836, allocations: 23.98 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.7837, allocations: 69.94 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.7839, allocations: 101.9 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7839, allocations: 3.938 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002713/0.7842, allocations: 137.3 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7843, allocations: 4 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7843, allocations: 4 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7843, allocations: 3.984 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.7844, allocations: 12 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.7844, allocations: 8 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.7845, allocations: 11.92 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.7845, allocations: 4 kB / 1.214 GB, free: 7.66 MB / 0.9356 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.0001974/0.7847, allocations: 129.9 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.7847, allocations: 7.906 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.7848, allocations: 12.72 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7848, allocations: 3.984 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.7848, allocations: 0 / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7848, allocations: 3.938 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.7854, allocations: 438.3 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7855, allocations: 0 / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.7855, allocations: 7.984 kB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.7855, allocations: 0 / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.7855, allocations: 4 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7855, allocations: 0 / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7856, allocations: 3.938 kB / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.786, allocations: 243.5 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.786, allocations: 81.02 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.7861, allocations: 4 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7862, allocations: 7.984 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.7863, allocations: 11.92 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.7863, allocations: 4 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.7863, allocations: 107.4 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7864, allocations: 0 / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003668/0.7867, allocations: 59.89 kB / 1.215 GB, free: 6.449 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.0004571/0.7872, allocations: 170.3 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.7875, allocations: 92.19 kB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7875, allocations: 0 / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.7877, allocations: 52.38 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.788, allocations: 12.14 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.7886, allocations: 225.9 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.7889, allocations: 0.6963 MB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.789, allocations: 7.438 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.789, allocations: 7.938 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of Templates: time 0.004258/0.7933, allocations: 1.839 MB / 1.218 GB, free: 3.309 MB / 0.9356 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/jenkins1/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