Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.006642/0.006642, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001591/0.001591, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.317/2.317, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.667, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002644/0.6697, allocations: 1.562 MB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.671, allocations: 0.8371 MB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.6711, allocations: 1.375 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.6711, allocations: 0 / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.6712, allocations: 17.22 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.6717, allocations: 120.8 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.6718, allocations: 88.45 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6719, allocations: 25.98 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.185e-05/0.672, allocations: 31.61 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.6721, allocations: 41.08 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.6721, allocations: 5.188 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.6724, allocations: 124.4 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.6724, allocations: 14.89 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.6725, allocations: 38.52 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.6726, allocations: 123.1 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6727, allocations: 3.984 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6727, allocations: 4 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.6727, allocations: 0 / 0.9525 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.0006807/0.6734, allocations: 481 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.6734, allocations: 10.19 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.6735, allocations: 8.594 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.771e-05/0.6736, allocations: 181.6 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.6736, allocations: 10.81 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.6736, allocations: 12.2 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.6738, allocations: 92.86 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6739, allocations: 0 / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.6739, allocations: 4 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6739, allocations: 1.281 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.6741, allocations: 42.88 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.6746, allocations: 326.7 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.6748, allocations: 78.36 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6749, allocations: 46.7 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.6749, allocations: 1.375 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.6752, allocations: 100.2 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.6752, allocations: 0 / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005328/0.6757, allocations: 183.9 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.6758, allocations: 52.75 kB / 0.9541 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.6759, allocations: 139.2 kB / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.6759, allocations: 31.03 kB / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.6759, allocations: 96.45 kB / 0.9543 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.676, allocations: 18.73 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.676, allocations: 31.11 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.6761, allocations: 326 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.6761, allocations: 28.14 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.6762, allocations: 73.42 kB / 0.9548 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.6764, allocations: 101.4 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6764, allocations: 0 / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002269/0.6766, allocations: 127.8 kB / 0.955 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6767, allocations: 5.438 kB / 0.955 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6767, allocations: 1.281 kB / 0.955 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6767, allocations: 11.28 kB / 0.955 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.6768, allocations: 17.86 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6768, allocations: 2.344 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.6769, allocations: 12.16 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.6769, allocations: 8.531 kB / 0.9551 GB, free: 4.488 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.139e-05/0.677, allocations: 125.5 kB / 0.9552 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.677, allocations: 4.031 kB / 0.9552 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.6771, allocations: 18.67 kB / 0.9552 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.6771, allocations: 5.281 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6771, allocations: 0 / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6771, allocations: 3.938 kB / 0.9552 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.6776, allocations: 430.4 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6776, allocations: 1.031 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.6776, allocations: 6.797 kB / 0.9556 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6776, allocations: 5.281 kB / 0.9556 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6776, allocations: 1.25 kB / 0.9556 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6777, allocations: 5.531 kB / 0.9556 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6777, allocations: 4.016 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.678, allocations: 249 kB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.678, allocations: 83.52 kB / 0.956 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.6781, allocations: 5.297 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.6782, allocations: 9.438 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.6782, allocations: 14.33 kB / 0.956 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6782, allocations: 3.531 kB / 0.956 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.6783, allocations: 100.8 kB / 0.9561 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6783, allocations: 0 / 0.9561 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003475/0.6787, allocations: 47.86 kB / 0.9561 GB, free: 3.523 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.0003666/0.679, allocations: 179 kB / 0.9563 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.6793, allocations: 86.81 kB / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6793, allocations: 0 / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6795, allocations: 47.78 kB / 0.9564 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.6797, allocations: 15.84 kB / 0.9565 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.6802, allocations: 238.8 kB / 0.9567 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.6804, allocations: 0.6947 MB / 0.9574 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.6804, allocations: 15.08 kB / 0.9574 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6804, allocations: 0 / 0.9574 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.003325/0.6837, allocations: 1.831 MB / 0.9592 GB, free: 1.469 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches