Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_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_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 11 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.001138/0.001138, allocations: 191.4 kB / 0.4902 GB, free: 2.227 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.656/1.656, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001026/0.001026, allocations: 101.7 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 13.55 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3146, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/0.5329, allocations: 152.1 MB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5333, allocations: 83.95 kB / 1.378 GB, free: 1.328 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.01118/0.5445, allocations: 3.496 MB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5445, allocations: 0 / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5445, allocations: 0 / 1.381 GB, free: 13.82 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.0006968/0.5452, allocations: 486.3 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.5453, allocations: 12.5 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.5454, allocations: 11.86 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.5456, allocations: 178.9 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.5456, allocations: 3.938 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.5456, allocations: 8 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.5459, allocations: 89.64 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5459, allocations: 0 / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.5459, allocations: 0 / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5459, allocations: 3.953 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.5461, allocations: 63.94 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.5468, allocations: 328.8 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.547, allocations: 90.53 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.547, allocations: 4 kB / 1.383 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.5473, allocations: 99.34 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.5473, allocations: 0 / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005153/0.5478, allocations: 205.7 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.5479, allocations: 51.41 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.548, allocations: 117.2 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.548, allocations: 37.7 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.5481, allocations: 100 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.5481, allocations: 15.75 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.5481, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5483, allocations: 318.8 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.5484, allocations: 23.98 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5485, allocations: 77.94 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.5486, allocations: 43.98 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5486, allocations: 0 / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002458/0.5489, allocations: 121.4 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5489, allocations: 11.98 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5489, allocations: 4.141 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5489, allocations: 8 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.549, allocations: 19.94 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.549, allocations: 7.922 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.5491, allocations: 8 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5491, allocations: 4 kB / 1.384 GB, free: 11.06 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 0.0001145/0.5492, allocations: 121.8 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.5493, allocations: 15.84 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.5493, allocations: 16.7 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5493, allocations: 3.953 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5493, allocations: 0 / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.5493, allocations: 0 / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.5499, allocations: 438.4 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5499, allocations: 8 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.55, allocations: 11.92 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.55, allocations: 3.953 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.55, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.55, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.55, allocations: 4 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.5505, allocations: 251.4 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.5505, allocations: 89.02 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.5505, allocations: 3.953 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5507, allocations: 11.98 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.5507, allocations: 11.98 kB / 1.385 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5507, allocations: 4 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.751e-05/0.5508, allocations: 101.8 kB / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5508, allocations: 0 / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003315/0.5512, allocations: 67.86 kB / 1.385 GB, free: 9.828 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.0004221/0.5516, allocations: 198.7 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.5519, allocations: 95.88 kB / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5519, allocations: 0 / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.552, allocations: 56.34 kB / 1.385 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.5522, allocations: 10.06 kB / 1.385 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.5527, allocations: 234.2 kB / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.5531, allocations: 0.6926 MB / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.5531, allocations: 11.77 kB / 1.386 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.5532, allocations: 11.44 kB / 1.386 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of SimCode: time 7.71e-07/0.5532, allocations: 0 / 1.386 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of Templates: time 0.005143/0.5583, allocations: 1.94 MB / 1.388 GB, free: 6.559 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches