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.25/2.25, allocations: 390.5 MB / 398 MB, free: 10.93 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.001398/0.001398, allocations: 179.2 kB / 491.2 MB, free: 1.59 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.649/1.649, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009843/0.0009845, allocations: 83.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.29e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3507, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.383, allocations: 151.4 MB / 1.36 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.384, allocations: 83.28 kB / 1.36 GB, free: 17.49 MB / 0.823 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.01086/1.395, allocations: 3.468 MB / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.395, allocations: 0 / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.729e-06/1.395, allocations: 0 / 1.364 GB, free: 33 MB / 0.8386 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.0007383/1.395, allocations: 475.7 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.395, allocations: 7.281 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/1.396, allocations: 17.2 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.396, allocations: 176 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/1.396, allocations: 0 / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/1.396, allocations: 8.531 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/1.396, allocations: 31.19 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.396, allocations: 75.31 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.396, allocations: 0 / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.396, allocations: 7.141 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.396, allocations: 0 / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/1.397, allocations: 301.9 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/1.397, allocations: 61.69 kB / 1.365 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/1.397, allocations: 31.08 kB / 1.365 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/1.397, allocations: 1.359 kB / 1.365 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/1.397, allocations: 78.88 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 3.917e-06/1.397, allocations: 4 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.00054/1.398, allocations: 140.3 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.398, allocations: 51.41 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/1.398, allocations: 120.4 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/1.398, allocations: 33.05 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/1.398, allocations: 93.72 kB / 1.365 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/1.398, allocations: 14.78 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.398, allocations: 0 / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.398, allocations: 321.7 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/1.398, allocations: 15.16 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/1.399, allocations: 67.97 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/1.399, allocations: 24.27 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.399, allocations: 0 / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001747/1.399, allocations: 101.1 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.399, allocations: 4.875 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.399, allocations: 3.969 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.399, allocations: 3.953 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.399, allocations: 17.17 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.399, allocations: 8.703 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/1.399, allocations: 10.16 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/1.399, allocations: 3.844 kB / 1.366 GB, free: 31.21 MB / 0.8386 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 () * 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.00012/1.399, allocations: 110.4 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/1.399, allocations: 7.75 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/1.399, allocations: 14.03 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.399, allocations: 0 / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.399, allocations: 3.953 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/1.399, allocations: 4 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/1.4, allocations: 392.7 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.4, allocations: 1.781 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/1.4, allocations: 11.44 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.4, allocations: 1.312 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.4, allocations: 1.547 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.4, allocations: 3.953 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.4, allocations: 0 / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/1.4, allocations: 231.6 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/1.401, allocations: 86.31 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/1.401, allocations: 3.234 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.401, allocations: 14.36 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/1.401, allocations: 14.64 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.401, allocations: 5.312 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.468e-05/1.401, allocations: 98.59 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.401, allocations: 0 / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003961/1.401, allocations: 64.56 kB / 1.367 GB, free: 30.46 MB / 0.8386 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) * 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.0004091/1.402, allocations: 180.8 kB / 1.367 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001483/1.402, allocations: 59.95 kB / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.402, allocations: 0 / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/1.402, allocations: 38.52 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.402, allocations: 15.48 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/1.402, allocations: 111.5 kB / 1.367 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/1.403, allocations: 0.6987 MB / 1.368 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.576e-05/1.403, allocations: 9 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/1.403, allocations: 13.05 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.403, allocations: 0 / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.004917/1.408, allocations: 1.909 MB / 1.37 GB, free: 29.38 MB / 0.8386 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