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.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.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.001381/0.001381, 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.00162/0.00162, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.348/2.348, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7423, allocations: 140.3 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002505/0.7449, allocations: 1.567 MB / 0.9504 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.7461, allocations: 0.8307 MB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.7462, allocations: 0 / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.7462, allocations: 3.938 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.7463, allocations: 13.52 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.7468, allocations: 129.2 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.7469, allocations: 84.92 kB / 0.9515 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.747, allocations: 17.38 kB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.7471, allocations: 39.75 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.7472, allocations: 41.52 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.7473, allocations: 4.531 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.7475, allocations: 124.1 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.7475, allocations: 19.38 kB / 0.9517 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.7476, allocations: 33.58 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.7478, allocations: 178.4 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.7478, allocations: 0 / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7478, allocations: 0 / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.7478, allocations: 3.938 kB / 0.9519 GB, free: 6.832 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.0006872/0.7485, allocations: 485.5 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.7486, allocations: 8.719 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.7486, allocations: 9.938 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.7487, allocations: 180.9 kB / 0.9526 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7487, allocations: 3.125 kB / 0.9526 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.7488, allocations: 9 kB / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.749, allocations: 84.33 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.749, allocations: 3.938 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.749, allocations: 0 / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.749, allocations: 9.984 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.7492, allocations: 53.95 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.7497, allocations: 322.7 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.75, allocations: 86.94 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.7501, allocations: 41.78 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.7501, allocations: 1.188 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.7504, allocations: 93.17 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7504, allocations: 0 / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005131/0.7509, allocations: 195.2 kB / 0.9534 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.751, allocations: 56.98 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.7511, allocations: 136.2 kB / 0.9536 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.7511, allocations: 26.83 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.7511, allocations: 95.83 kB / 0.9537 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.7511, allocations: 19.2 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.7512, allocations: 26.09 kB / 0.9538 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.7513, allocations: 329.5 kB / 0.9541 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.7513, allocations: 22.7 kB / 0.9541 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.7514, allocations: 68.33 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.7516, allocations: 109.6 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7516, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002252/0.7518, allocations: 127.2 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7519, allocations: 5.969 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7519, allocations: 1.125 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.7519, allocations: 2.656 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.752, allocations: 18.58 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.752, allocations: 6.297 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.7521, allocations: 12.78 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.7521, allocations: 8.844 kB / 0.9545 GB, free: 4.465 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.405e-05/0.7522, allocations: 128 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.7522, allocations: 4.219 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.7523, allocations: 10.16 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7523, allocations: 1.375 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7523, allocations: 0 / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7523, allocations: 0 / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.7528, allocations: 441.7 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7528, allocations: 0.8438 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.7528, allocations: 3.531 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7528, allocations: 1.156 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.7528, allocations: 5.203 kB / 0.955 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.7528, allocations: 4 kB / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7528, allocations: 5.125 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.7532, allocations: 245.3 kB / 0.9553 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.7532, allocations: 91.88 kB / 0.9554 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.7532, allocations: 5.156 kB / 0.9554 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7534, allocations: 9.234 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.7534, allocations: 6.5 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.7534, allocations: 6.859 kB / 0.9554 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.7535, allocations: 105.2 kB / 0.9555 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7535, allocations: 4 kB / 0.9555 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003128/0.7538, allocations: 47.84 kB / 0.9555 GB, free: 3.496 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.0003268/0.7541, allocations: 170.3 kB / 0.9557 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.7544, allocations: 90.36 kB / 0.9558 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7544, allocations: 0 / 0.9558 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.7545, allocations: 48 kB / 0.9558 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.7548, allocations: 13.2 kB / 0.9558 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.7552, allocations: 217.5 kB / 0.956 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.7553, allocations: 0.6927 MB / 0.9567 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.7554, allocations: 6.656 kB / 0.9567 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.7554, allocations: 14.94 kB / 0.9567 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.7554, allocations: 4 kB / 0.9567 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.004701/0.7601, allocations: 1.793 MB / 0.9585 GB, free: 1.5 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","/var/lib/jenkins/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