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.001235/0.001235, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001496/0.001496, allocations: 177.3 kB / 15.95 MB, free: 216 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.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.518/2.518, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005214, allocations: 12 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8469, allocations: 142.3 MB / 0.9535 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.00143/0.8484, allocations: 1.189 MB / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.8495, allocations: 0.7674 MB / 0.9554 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.8496, allocations: 1.438 kB / 0.9554 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.8496, allocations: 3.984 kB / 0.9554 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.8497, allocations: 14.3 kB / 0.9554 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.8501, allocations: 118.7 kB / 0.9555 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.838e-05/0.8502, allocations: 54.11 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.8503, allocations: 8.656 kB / 0.9556 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.8504, allocations: 44.23 kB / 0.9556 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.8505, allocations: 39.7 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.8505, allocations: 4.469 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.8507, allocations: 93.56 kB / 0.9558 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.8507, allocations: 19.36 kB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.8508, allocations: 31.2 kB / 0.9558 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.851, allocations: 129.7 kB / 0.956 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.851, allocations: 4 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.851, allocations: 1.344 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.851, allocations: 0 / 0.956 GB, free: 6.191 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.0006893/0.8517, allocations: 481.7 kB / 0.9564 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8517, allocations: 8.438 kB / 0.9564 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.8518, allocations: 16.17 kB / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.8519, allocations: 176.5 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.8519, allocations: 6.438 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.852, allocations: 4.875 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.8522, allocations: 83.02 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.8522, allocations: 3.984 kB / 0.9567 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.8522, allocations: 4.875 kB / 0.9567 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8522, allocations: 4.938 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.8524, allocations: 66.59 kB / 0.9568 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.853, allocations: 320.3 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.8532, allocations: 89.66 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.8532, allocations: 1.031 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.8535, allocations: 109 kB / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.8535, allocations: 0 / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005112/0.854, allocations: 200.7 kB / 0.9575 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.854, allocations: 57.88 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.8541, allocations: 130.7 kB / 0.9576 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.8541, allocations: 33.05 kB / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.8542, allocations: 94.81 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.8542, allocations: 22.33 kB / 0.9578 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.8542, allocations: 3.938 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.8543, allocations: 326.4 kB / 0.9581 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.8544, allocations: 24.02 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.8545, allocations: 65.97 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.8546, allocations: 40.83 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8546, allocations: 1.125 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002231/0.8548, allocations: 135.7 kB / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8548, allocations: 6.031 kB / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8548, allocations: 1.062 kB / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8548, allocations: 6.578 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.8549, allocations: 20.06 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.855, allocations: 5.359 kB / 0.9584 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.855, allocations: 17.88 kB / 0.9584 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.855, allocations: 5.688 kB / 0.9584 GB, free: 3.941 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 7.034e-05/0.8551, allocations: 124.1 kB / 0.9585 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.8551, allocations: 7.281 kB / 0.9585 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.8552, allocations: 14.48 kB / 0.9586 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8552, allocations: 5.859 kB / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8552, allocations: 0 / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8552, allocations: 0 / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.8557, allocations: 434.6 kB / 0.959 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8557, allocations: 1.25 kB / 0.959 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.8557, allocations: 11.45 kB / 0.959 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8558, allocations: 5.172 kB / 0.959 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.8558, allocations: 5.156 kB / 0.959 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8558, allocations: 1.188 kB / 0.959 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8558, allocations: 0 / 0.959 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.8561, allocations: 254.5 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.8561, allocations: 88.55 kB / 0.9593 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.8562, allocations: 3.953 kB / 0.9593 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.8563, allocations: 16.95 kB / 0.9593 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.8563, allocations: 9.703 kB / 0.9594 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.8564, allocations: 3.625 kB / 0.9594 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.8564, allocations: 103.3 kB / 0.9595 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8564, allocations: 1.781 kB / 0.9595 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003408/0.8568, allocations: 50.45 kB / 0.9595 GB, free: 2.973 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.0003326/0.8571, allocations: 167.1 kB / 0.9597 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.8574, allocations: 105.6 kB / 0.9598 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8574, allocations: 3.938 kB / 0.9598 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.8575, allocations: 52.02 kB / 0.9598 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.8577, allocations: 8.109 kB / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.8581, allocations: 223.2 kB / 0.96 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.8582, allocations: 0.6918 MB / 0.9607 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.8583, allocations: 15.89 kB / 0.9607 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.8583, allocations: 10.19 kB / 0.9607 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8583, allocations: 0 / 0.9607 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of Templates: time 0.004631/0.8629, allocations: 1.756 MB / 0.9625 GB, free: 0.9883 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","../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches