Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_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_10_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.001461/0.001461, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001581/0.001581, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 64.12 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8448, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002758/0.8475, allocations: 1.506 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.849, allocations: 0.8217 MB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.8491, allocations: 3.938 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.8491, allocations: 7.922 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.8492, allocations: 19.86 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.8498, allocations: 155.5 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.85, allocations: 83.77 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.8501, allocations: 15.98 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.8502, allocations: 43.84 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.8503, allocations: 47.81 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.8503, allocations: 12 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.8506, allocations: 127.8 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.8506, allocations: 15.92 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.8507, allocations: 39.8 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.851, allocations: 179.4 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.851, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.352e-06/0.851, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.851, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 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.0007453/0.8518, allocations: 480.4 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8518, allocations: 8.922 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.8519, allocations: 12.78 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.852, allocations: 188.1 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.852, allocations: 4.375 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.8521, allocations: 8.359 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.8523, allocations: 86.03 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8523, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.8524, allocations: 8 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8524, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.8525, allocations: 51.89 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.8531, allocations: 320.7 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.8534, allocations: 86.53 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.8535, allocations: 40.84 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.8535, allocations: 4.031 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.8538, allocations: 91.36 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.8538, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005134/0.8543, allocations: 189.6 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.8544, allocations: 63.33 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.8545, allocations: 132.4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8545, allocations: 33.7 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.8546, allocations: 88.14 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.8546, allocations: 19.73 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.8546, allocations: 29.72 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8548, allocations: 326.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.8549, allocations: 31.98 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.855, allocations: 71.61 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.8552, allocations: 97.92 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8552, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002447/0.8554, allocations: 137.3 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8554, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8554, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8555, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.8556, allocations: 15.98 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8556, allocations: 7.938 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.8557, allocations: 11.94 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.8557, allocations: 4.188 kB / 1.173 GB, free: 13.93 MB / 0.9044 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.0001052/0.8558, allocations: 125.8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.8558, allocations: 11.84 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.8558, allocations: 12.72 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.8564, allocations: 442.2 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8564, allocations: 4 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.8565, allocations: 4 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8565, allocations: 0 / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.8565, allocations: 4 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8565, allocations: 3.984 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8565, allocations: 4.328 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.8569, allocations: 251.4 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.8569, allocations: 85.05 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.857, allocations: 7.984 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.8571, allocations: 4 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.8571, allocations: 15.92 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.8572, allocations: 0 / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.8572, allocations: 106.1 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8572, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003264/0.8576, allocations: 51.91 kB / 1.174 GB, free: 12.72 MB / 0.9044 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.000354/0.8579, allocations: 175.3 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.8582, allocations: 88.08 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8582, allocations: 0 / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.8584, allocations: 51.91 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.8586, allocations: 8 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.8591, allocations: 229.9 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.8594, allocations: 0.7003 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.8594, allocations: 15.44 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8594, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.003544/0.863, allocations: 1.842 MB / 1.177 GB, free: 9.574 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches