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: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001254, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.242/2.242, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5614/0.5627, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002497/0.5652, allocations: 1.551 MB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.5668, allocations: 0.8295 MB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.5669, allocations: 9.031 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.567, allocations: 7.922 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.5671, allocations: 18.42 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.5677, allocations: 123.3 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.5678, allocations: 77.14 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.5679, allocations: 21.75 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.568, allocations: 43.47 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.5681, allocations: 41.33 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.5681, allocations: 4.125 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.5684, allocations: 117.4 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.5685, allocations: 19.11 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.5685, allocations: 33.88 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.5689, allocations: 181.6 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5689, allocations: 0 / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5689, allocations: 1.625 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5689, allocations: 4 kB / 0.952 GB, free: 6.859 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.0006837/0.5696, allocations: 480.2 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5696, allocations: 10.06 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.5697, allocations: 36 kB / 0.9525 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.5697, allocations: 9.094 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5698, allocations: 178.1 kB / 0.9527 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.5699, allocations: 7.484 kB / 0.9527 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.5699, allocations: 13.16 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.5701, allocations: 87.61 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5701, allocations: 0 / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5702, allocations: 1.281 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.5702, allocations: 0 / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.5703, allocations: 51.39 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.5709, allocations: 330.2 kB / 0.9532 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.5711, allocations: 79.84 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.5713, allocations: 45.59 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.5713, allocations: 0 / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.5715, allocations: 92.86 kB / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.5715, allocations: 0 / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005179/0.5721, allocations: 191.4 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.5721, allocations: 61.8 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.5722, allocations: 140.5 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5722, allocations: 34.95 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.5723, allocations: 90.8 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.5723, allocations: 19.61 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.5723, allocations: 26.66 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.5724, allocations: 325.3 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.5725, allocations: 22.39 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.5726, allocations: 72.92 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.5727, allocations: 104.7 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5727, allocations: 0 / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002204/0.573, allocations: 123.9 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.573, allocations: 5.844 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.573, allocations: 1.625 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.573, allocations: 6.969 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.5731, allocations: 20.92 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5731, allocations: 2.812 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.5732, allocations: 12.12 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5732, allocations: 5.75 kB / 0.9546 GB, free: 4.457 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 6.349e-05/0.5733, allocations: 127.2 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.5733, allocations: 15.98 kB / 0.9547 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.5733, allocations: 10.31 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5733, allocations: 1.344 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5733, allocations: 0 / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5733, allocations: 1.219 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.5738, allocations: 425.8 kB / 0.9552 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5738, allocations: 0 / 0.9552 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.5738, allocations: 16.11 kB / 0.9552 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5738, allocations: 0 / 0.9552 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5739, allocations: 9.438 kB / 0.9552 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5739, allocations: 1.219 kB / 0.9552 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5739, allocations: 7.875 kB / 0.9552 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.5742, allocations: 238.8 kB / 0.9554 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.5742, allocations: 82.64 kB / 0.9555 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.5743, allocations: 9.109 kB / 0.9555 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5744, allocations: 14.67 kB / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.5744, allocations: 10.05 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.5744, allocations: 2.5 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.5745, allocations: 108.2 kB / 0.9556 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5745, allocations: 0 / 0.9556 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003169/0.5748, allocations: 48 kB / 0.9557 GB, free: 3.484 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.0006947/0.5755, allocations: 0.8427 MB / 0.9565 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.5758, allocations: 91.33 kB / 0.9566 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5758, allocations: 0 / 0.9566 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.5759, allocations: 55.47 kB / 0.9566 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.5762, allocations: 13.75 kB / 0.9567 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.5775, allocations: 1.6 MB / 0.9582 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.5776, allocations: 0.6912 MB / 0.9589 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.5776, allocations: 11.2 kB / 0.9589 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.5777, allocations: 26.27 kB / 0.9589 GB, free: 460 kB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5777, allocations: 1.625 kB / 0.9589 GB, free: 460 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.5997, allocations: 2.974 MB / 0.9618 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.5999, allocations: 267.8 kB / 0.9621 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.233, allocations: 0 / 0.9621 GB, free: 14.63 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > 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/jenkins1/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