Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 182.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008007/0.000801, allocations: 94.03 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 6.781 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1897, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.3531, allocations: 133.8 MB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.3534, allocations: 83.95 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.0102/0.3636, allocations: 3.455 MB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3636, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.3636, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 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.0006186/0.3642, allocations: 490.9 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3643, allocations: 12.03 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3643, allocations: 11.86 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3644, allocations: 176.8 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3645, allocations: 0 / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3645, allocations: 8 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3647, allocations: 89.58 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3647, allocations: 0 / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3648, allocations: 0 / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3648, allocations: 11.98 kB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3649, allocations: 59.91 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3655, allocations: 332.7 kB / 1.035 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3657, allocations: 86.56 kB / 1.035 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3658, allocations: 4.156 kB / 1.035 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.366, allocations: 103.3 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.366, allocations: 0 / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.3665, allocations: 205.6 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3666, allocations: 51.41 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.3667, allocations: 121.2 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3667, allocations: 29.7 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.3668, allocations: 96 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3668, allocations: 23.69 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.3668, allocations: 11.94 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3669, allocations: 318.8 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.367, allocations: 23.98 kB / 1.036 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3671, allocations: 78.12 kB / 1.036 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.313e-05/0.3672, allocations: 39.92 kB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3673, allocations: 0 / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002394/0.3675, allocations: 125.4 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3675, allocations: 10.19 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3675, allocations: 4.016 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.3676, allocations: 11.94 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.3677, allocations: 19.94 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3677, allocations: 3.984 kB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.3678, allocations: 20.11 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3678, allocations: 4 kB / 1.037 GB, free: 3.59 MB / 0.6823 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 0.0001074/0.3679, allocations: 123.1 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.3679, allocations: 7.906 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.368, allocations: 12.7 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.368, allocations: 0 / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.368, allocations: 3.953 kB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.368, allocations: 8 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.3686, allocations: 434.4 kB / 1.037 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3686, allocations: 0 / 1.037 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.3687, allocations: 7.984 kB / 1.037 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3687, allocations: 4 kB / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3687, allocations: 3.953 kB / 1.037 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3687, allocations: 4 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3687, allocations: 0 / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.3691, allocations: 255.3 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.3691, allocations: 85.02 kB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3691, allocations: 0 / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3692, allocations: 15.94 kB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3693, allocations: 7.984 kB / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3693, allocations: 4 kB / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.3694, allocations: 101.9 kB / 1.038 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3694, allocations: 0 / 1.038 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003246/0.3697, allocations: 71.86 kB / 1.038 GB, free: 2.363 MB / 0.6823 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.0003732/0.3701, allocations: 196.8 kB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3704, allocations: 99.83 kB / 1.038 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3704, allocations: 0 / 1.038 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3705, allocations: 51.97 kB / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.3707, allocations: 7.047 kB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.3712, allocations: 225.4 kB / 1.038 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3715, allocations: 0.6926 MB / 1.039 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.788e-05/0.3715, allocations: 15.92 kB / 1.039 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.3715, allocations: 15.44 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.3716, allocations: 0 / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of Templates: time 0.004438/0.376, allocations: 1.939 MB / 1.041 GB, free: 15.12 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","../files/Buildings_maint.7.0.x_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.freqHz,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