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.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.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.001754/0.001754, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002191/0.002192, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.343/2.343, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.89 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6952, allocations: 140.4 MB / 0.9489 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002555/0.6978, allocations: 1.563 MB / 0.9504 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.6991, allocations: 0.8335 MB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.6991, allocations: 0.75 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.6992, allocations: 7.922 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.6992, allocations: 9.281 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.6998, allocations: 124.8 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.6999, allocations: 89.42 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.7, allocations: 17.05 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.7001, allocations: 39.39 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.7002, allocations: 41.8 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.7002, allocations: 8.969 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.7004, allocations: 113 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.7005, allocations: 22.59 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.7005, allocations: 41.41 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.7008, allocations: 166.4 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7008, allocations: 4 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.7008, allocations: 3.938 kB / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.7008, allocations: 0 / 0.9519 GB, free: 6.992 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.0006507/0.7015, allocations: 485.6 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7015, allocations: 13.92 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.7016, allocations: 8.969 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.7016, allocations: 176.9 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.7017, allocations: 6.844 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.7017, allocations: 12.12 kB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.7019, allocations: 91.94 kB / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.7019, allocations: 1.406 kB / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.702, allocations: 0 / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.702, allocations: 5.547 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.7021, allocations: 46.94 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.7026, allocations: 325.4 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.7028, allocations: 79.02 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7029, allocations: 46.14 kB / 0.9531 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.703, allocations: 9.172 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.7032, allocations: 88.86 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.7032, allocations: 0 / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004858/0.7037, allocations: 191.4 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.7037, allocations: 54.31 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.7038, allocations: 138.4 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.7038, allocations: 28.2 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.7039, allocations: 98.69 kB / 0.9537 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.7039, allocations: 19.3 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.704, allocations: 31.2 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.704, allocations: 324 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.7041, allocations: 23.14 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.7042, allocations: 68.44 kB / 0.9542 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.7044, allocations: 108.5 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7044, allocations: 1.375 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002248/0.7046, allocations: 123.1 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7046, allocations: 9.219 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7046, allocations: 5.406 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7046, allocations: 6.562 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.7047, allocations: 18.27 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7048, allocations: 2.406 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.7048, allocations: 17.14 kB / 0.9544 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.7048, allocations: 4.469 kB / 0.9545 GB, free: 4.617 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 9.063e-05/0.7049, allocations: 124.3 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.705, allocations: 7.375 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.705, allocations: 11.06 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.705, allocations: 5.516 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.705, allocations: 3.938 kB / 0.9546 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.705, allocations: 0 / 0.9546 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.7055, allocations: 434.1 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7055, allocations: 0 / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.7056, allocations: 7.75 kB / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.7056, allocations: 5.203 kB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.7056, allocations: 1.312 kB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7056, allocations: 0 / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7056, allocations: 5.188 kB / 0.955 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.706, allocations: 245.7 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.706, allocations: 82.36 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.706, allocations: 5.406 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.7061, allocations: 9.328 kB / 0.9554 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.7062, allocations: 10.95 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.7062, allocations: 7.156 kB / 0.9554 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.7063, allocations: 102.5 kB / 0.9555 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7063, allocations: 0 / 0.9555 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000321/0.7066, allocations: 51.45 kB / 0.9555 GB, free: 3.656 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.0003561/0.707, allocations: 169.6 kB / 0.9557 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.7072, allocations: 90.66 kB / 0.9558 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7072, allocations: 0 / 0.9558 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.7074, allocations: 48.09 kB / 0.9558 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.7076, allocations: 18.11 kB / 0.9558 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.7081, allocations: 213 kB / 0.956 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.7082, allocations: 0.6944 MB / 0.9567 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.7082, allocations: 8.219 kB / 0.9567 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.7083, allocations: 14.45 kB / 0.9567 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.7083, allocations: 0 / 0.9567 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of Templates: time 0.004459/0.7127, allocations: 1.809 MB / 0.9585 GB, free: 1.652 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/jenkins/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