Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.272/2.272, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 184 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.1 MB / 0.7992 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 102 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 10.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3454, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.5489, allocations: 152.1 MB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5493, allocations: 87.94 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.5606, allocations: 3.5 MB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5606, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.5607, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 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.0007495/0.5614, allocations: 486.3 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5615, allocations: 12.55 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.5615, allocations: 11.86 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.5617, allocations: 174.9 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.5618, allocations: 4 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.5618, allocations: 4 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.5621, allocations: 101.6 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5621, allocations: 0 / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5621, allocations: 0 / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5621, allocations: 3.953 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.5623, allocations: 59.97 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.5629, allocations: 320.8 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.5631, allocations: 94.58 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.5632, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.5634, allocations: 103.5 kB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.5635, allocations: 0 / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005422/0.564, allocations: 205.4 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5641, allocations: 59.41 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.5642, allocations: 116.2 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.5642, allocations: 29.7 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.5643, allocations: 100 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.5643, allocations: 23.73 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.5643, allocations: 4 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5645, allocations: 322.8 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.5646, allocations: 27.92 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.5647, allocations: 77.98 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.245e-05/0.5648, allocations: 31.98 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5648, allocations: 4 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002547/0.5651, allocations: 133.4 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5651, allocations: 8 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5651, allocations: 3.953 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5651, allocations: 4 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.5652, allocations: 16.17 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5652, allocations: 11.88 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.5653, allocations: 8 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5653, allocations: 8 kB / 1.384 GB, free: 11.02 MB / 0.8855 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,ac.occ,$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 9.511e-05/0.5654, allocations: 117.8 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.5654, allocations: 7.906 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.5655, allocations: 12.72 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5655, allocations: 7.953 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5655, allocations: 0 / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5655, allocations: 0 / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.5661, allocations: 446.3 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5661, allocations: 4 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.5662, allocations: 4 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5662, allocations: 7.953 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5662, allocations: 0 / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5662, allocations: 3.984 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5662, allocations: 0 / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.5666, allocations: 255.3 kB / 1.385 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.5667, allocations: 89 kB / 1.385 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.5667, allocations: 3.953 kB / 1.385 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5668, allocations: 12 kB / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.5669, allocations: 7.984 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5669, allocations: 0 / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.567, allocations: 103.2 kB / 1.385 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.567, allocations: 0 / 1.385 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003881/0.5674, allocations: 67.88 kB / 1.385 GB, free: 9.797 MB / 0.8855 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,ac.occ,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.0004172/0.5678, allocations: 196.8 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.5681, allocations: 91.89 kB / 1.385 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5681, allocations: 4 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.5682, allocations: 52.28 kB / 1.385 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.5684, allocations: 20.84 kB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.5689, allocations: 221.1 kB / 1.385 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.5692, allocations: 0.7004 MB / 1.386 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.5692, allocations: 7.781 kB / 1.386 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.5693, allocations: 7.438 kB / 1.386 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5693, allocations: 0 / 1.386 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of Templates: time 0.004631/0.5739, allocations: 1.942 MB / 1.388 GB, free: 6.535 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ac.TIn,ac.occ,ac.on Variables in the result:Tin.amplitude,Tin.f,Tin.offset,Tin.phase,Tin.startTime,Tin.y,ac.L1,ac.L2,ac.TIn,ac.k1,ac.k2,ac.occ,ac.on,ac.samplePeriod,ac.seed,ac.t0,ac.u1,ac.u2,occ.startTime,occ.startValue,time