Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.0009125/0.0009124, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001202/0.001202, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7967, allocations: 142.4 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001504/0.7982, allocations: 1.199 MB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.7994, allocations: 0.7676 MB / 0.9564 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.7995, allocations: 5.062 kB / 0.9564 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.7996, allocations: 3.938 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.7996, allocations: 14.28 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.8002, allocations: 115.8 kB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.8003, allocations: 79.23 kB / 0.9566 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.8004, allocations: 13.44 kB / 0.9566 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.8005, allocations: 40 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.8006, allocations: 40.23 kB / 0.9567 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.8006, allocations: 5.312 kB / 0.9567 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.8009, allocations: 114.6 kB / 0.9568 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.8009, allocations: 19.7 kB / 0.9568 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.801, allocations: 40.11 kB / 0.9568 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.8012, allocations: 122.5 kB / 0.9569 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8012, allocations: 0 / 0.9569 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8012, allocations: 0 / 0.9569 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8012, allocations: 0 / 0.9569 GB, free: 5.84 MB / 0.7169 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.0006106/0.8018, allocations: 477.3 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.8019, allocations: 9.594 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.8019, allocations: 11.95 kB / 0.9574 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.802, allocations: 178 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.802, allocations: 3.125 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.8021, allocations: 8.125 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.8023, allocations: 99.53 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8023, allocations: 0 / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.8023, allocations: 1.375 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8023, allocations: 1.062 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.8025, allocations: 61.48 kB / 0.9578 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.8029, allocations: 320.8 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.8031, allocations: 93.61 kB / 0.9581 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.8033, allocations: 47.7 kB / 0.9582 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.8033, allocations: 4 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.8035, allocations: 100.8 kB / 0.9583 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.8035, allocations: 1.438 kB / 0.9583 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.804, allocations: 204.1 kB / 0.9585 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.804, allocations: 54.16 kB / 0.9585 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.8041, allocations: 133.3 kB / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.8041, allocations: 31.08 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.8041, allocations: 98.78 kB / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.8042, allocations: 10.56 kB / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.8042, allocations: 5.375 kB / 0.9588 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.8042, allocations: 325.6 kB / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/0.8043, allocations: 24.48 kB / 0.9591 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.8044, allocations: 70.39 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.8045, allocations: 44.08 kB / 0.9592 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8045, allocations: 1.469 kB / 0.9592 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002172/0.8047, allocations: 127.2 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8047, allocations: 5.719 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8047, allocations: 6.422 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8048, allocations: 6.062 kB / 0.9594 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.8049, allocations: 23.42 kB / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8049, allocations: 2.625 kB / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.8049, allocations: 14.34 kB / 0.9594 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.805, allocations: 3.906 kB / 0.9594 GB, free: 3.578 MB / 0.7169 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.805, allocations: 124.5 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.8051, allocations: 11.58 kB / 0.9596 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.8051, allocations: 9.938 kB / 0.9596 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8051, allocations: 6.047 kB / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8051, allocations: 0 / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8051, allocations: 0 / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.8056, allocations: 446.7 kB / 0.96 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.8056, allocations: 5.297 kB / 0.96 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.8056, allocations: 3.656 kB / 0.96 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.8056, allocations: 5.359 kB / 0.96 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.8056, allocations: 9.125 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8057, allocations: 1.156 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8057, allocations: 400 / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.806, allocations: 262.8 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.806, allocations: 83.14 kB / 0.9604 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.806, allocations: 16.78 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.8062, allocations: 8.188 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.8062, allocations: 7.109 kB / 0.9604 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.8062, allocations: 2.656 kB / 0.9604 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.8063, allocations: 106.9 kB / 0.9605 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8063, allocations: 0 / 0.9605 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000323/0.8066, allocations: 51.28 kB / 0.9605 GB, free: 2.598 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.8069, allocations: 170.8 kB / 0.9607 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.8072, allocations: 100.2 kB / 0.9608 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8072, allocations: 3.938 kB / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.8073, allocations: 56.95 kB / 0.9609 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.8076, allocations: 6.938 kB / 0.9609 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.8079, allocations: 227 kB / 0.9611 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.8081, allocations: 0.6927 MB / 0.9618 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.8081, allocations: 10.78 kB / 0.9618 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.8081, allocations: 15.36 kB / 0.9618 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8081, allocations: 0 / 0.9618 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.004342/0.8125, allocations: 1.757 MB / 0.9635 GB, free: 0.6016 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches