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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0007881/0.0007881, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004954/0.004954, allocations: 171.5 kB / 16.27 MB, free: 6.648 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7518, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001479/0.7533, allocations: 1.221 MB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.7545, allocations: 0.8066 MB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.7545, allocations: 0 / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.7546, allocations: 5.469 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.7546, allocations: 17.3 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.7551, allocations: 123.7 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.7552, allocations: 88.83 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.7553, allocations: 21.58 kB / 0.9573 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.7554, allocations: 32.17 kB / 0.9573 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.7555, allocations: 43.73 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.7555, allocations: 9.141 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.7557, allocations: 116.1 kB / 0.9575 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.7558, allocations: 22.69 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.7558, allocations: 55.91 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.7561, allocations: 173 kB / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7561, allocations: 1.438 kB / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7561, allocations: 0 / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.7561, allocations: 0 / 0.9577 GB, free: 5.617 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.0005993/0.7567, allocations: 476.3 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.7567, allocations: 10.72 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.7568, allocations: 8.469 kB / 0.9582 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.7569, allocations: 182.2 kB / 0.9583 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.7569, allocations: 6.594 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.7569, allocations: 4.812 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.7571, allocations: 91.55 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7572, allocations: 1.375 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.7572, allocations: 4 kB / 0.9585 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7572, allocations: 1.375 kB / 0.9585 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.7574, allocations: 62.27 kB / 0.9585 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.7578, allocations: 327.9 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.7581, allocations: 93.97 kB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.7582, allocations: 42.72 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.7582, allocations: 1.281 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.7585, allocations: 105.4 kB / 0.9591 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.7585, allocations: 3.938 kB / 0.9591 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005318/0.759, allocations: 201.4 kB / 0.9593 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.7591, allocations: 58.11 kB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.7592, allocations: 135.8 kB / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.7592, allocations: 31.7 kB / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.7592, allocations: 87.27 kB / 0.9596 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.7593, allocations: 22.83 kB / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.7593, allocations: 18.34 kB / 0.9596 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.7594, allocations: 329.1 kB / 0.9599 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.7595, allocations: 32.61 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.7596, allocations: 72.3 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.7597, allocations: 101.9 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7597, allocations: 5.875 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002533/0.76, allocations: 135.9 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.76, allocations: 5.5 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.76, allocations: 1.375 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7601, allocations: 2.938 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.7601, allocations: 15 kB / 0.9603 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7602, allocations: 10.67 kB / 0.9603 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.7602, allocations: 18.72 kB / 0.9603 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.7603, allocations: 4.125 kB / 0.9603 GB, free: 3.258 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 (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 7.819e-05/0.7603, allocations: 119.3 kB / 0.9604 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.7604, allocations: 8.031 kB / 0.9604 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.7604, allocations: 19.45 kB / 0.9604 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7604, allocations: 0 / 0.9604 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7604, allocations: 5.375 kB / 0.9604 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7604, allocations: 4.031 kB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.7609, allocations: 443.9 kB / 0.9609 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7609, allocations: 0 / 0.9609 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.761, allocations: 8.109 kB / 0.9609 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.761, allocations: 1.375 kB / 0.9609 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.761, allocations: 1.375 kB / 0.9609 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.761, allocations: 0 / 0.9609 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.761, allocations: 5.312 kB / 0.9609 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.7613, allocations: 259.1 kB / 0.9611 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.7614, allocations: 82.39 kB / 0.9612 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.7614, allocations: 5.312 kB / 0.9612 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7615, allocations: 20.22 kB / 0.9612 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.7616, allocations: 10.67 kB / 0.9612 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.7616, allocations: 6.75 kB / 0.9612 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.7616, allocations: 103.6 kB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7616, allocations: 0 / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003225/0.762, allocations: 51.73 kB / 0.9614 GB, free: 2.281 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 (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.0003924/0.7624, allocations: 168.8 kB / 0.9616 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.7627, allocations: 94.86 kB / 0.9616 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7627, allocations: 0 / 0.9616 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.7628, allocations: 56.27 kB / 0.9617 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.7631, allocations: 13.31 kB / 0.9617 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.7635, allocations: 227.9 kB / 0.9619 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.7637, allocations: 0.6948 MB / 0.9626 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.7637, allocations: 7.75 kB / 0.9626 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.7638, allocations: 14.38 kB / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7638, allocations: 0 / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.004643/0.7684, allocations: 1.803 MB / 0.9644 GB, free: 268 kB / 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