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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001131/0.001131, allocations: 196.6 kB / 498.1 MB, free: 5.734 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.611/1.611, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001175/0.001175, allocations: 109.9 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005628/0.0005628, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3823, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.5839, allocations: 151.3 MB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5843, allocations: 91.89 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01119/0.5955, allocations: 3.499 MB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5955, allocations: 0 / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.5955, allocations: 4 kB / 1.374 GB, free: 7.109 MB / 0.8698 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.0007514/0.5963, allocations: 478.3 kB / 1.375 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.5963, allocations: 16.03 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.5964, allocations: 11.86 kB / 1.375 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5965, allocations: 174.9 kB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.5966, allocations: 4 kB / 1.375 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5966, allocations: 8 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.5969, allocations: 81.64 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5969, allocations: 0 / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5969, allocations: 4 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5969, allocations: 7.953 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.5971, allocations: 59.89 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.5977, allocations: 328.8 kB / 1.375 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.5979, allocations: 82.53 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.598, allocations: 4.156 kB / 1.375 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.5982, allocations: 119.2 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.5982, allocations: 0 / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.000535/0.5988, allocations: 193.6 kB / 1.376 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5988, allocations: 51.41 kB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5989, allocations: 128 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.599, allocations: 29.7 kB / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.599, allocations: 96.12 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.5991, allocations: 23.73 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5991, allocations: 4 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5992, allocations: 318.8 kB / 1.376 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.5993, allocations: 31.98 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.5994, allocations: 81.88 kB / 1.376 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.5995, allocations: 31.98 kB / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5995, allocations: 0 / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003304/0.5999, allocations: 133.4 kB / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5999, allocations: 4 kB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5999, allocations: 7.891 kB / 1.377 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5999, allocations: 4 kB / 1.377 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.6, allocations: 16 kB / 1.377 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.6, allocations: 8.172 kB / 1.377 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.6001, allocations: 11.91 kB / 1.377 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6001, allocations: 4 kB / 1.377 GB, free: 4.355 MB / 0.8698 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.000105/0.6003, allocations: 129.8 kB / 1.377 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.6003, allocations: 11.89 kB / 1.377 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.6003, allocations: 12.7 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6003, allocations: 3.953 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6003, allocations: 4 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6004, allocations: 4 kB / 1.377 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.601, allocations: 434.4 kB / 1.377 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.601, allocations: 0 / 1.377 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.601, allocations: 11.98 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.601, allocations: 3.953 kB / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.601, allocations: 0 / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6011, allocations: 4 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6011, allocations: 0 / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.6015, allocations: 255.4 kB / 1.377 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.6015, allocations: 81.02 kB / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.6016, allocations: 3.953 kB / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6017, allocations: 15.98 kB / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.6017, allocations: 7.984 kB / 1.378 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.6017, allocations: 4 kB / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.6018, allocations: 99.27 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.984e-06/0.6018, allocations: 7.938 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003759/0.6022, allocations: 67.86 kB / 1.378 GB, free: 3.117 MB / 0.8698 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.0004754/0.6027, allocations: 196.3 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.603, allocations: 92.8 kB / 1.378 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.603, allocations: 0 / 1.378 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.6032, allocations: 56.38 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.6034, allocations: 4.375 kB / 1.378 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.6039, allocations: 229 kB / 1.378 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.6043, allocations: 0.7004 MB / 1.379 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.6043, allocations: 11.77 kB / 1.379 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.6044, allocations: 15.44 kB / 1.379 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/0.6044, allocations: 0 / 1.379 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of Templates: time 0.005177/0.6096, allocations: 1.936 MB / 1.381 GB, free: 15.85 MB / 0.8855 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","../files/Buildings_9_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