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: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001013/0.001013, allocations: 196.1 kB / 498.1 MB, free: 5.668 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.497/1.497, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.0008642/0.0008643, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3462, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.5388, allocations: 151.3 MB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5391, allocations: 95.92 kB / 1.371 GB, free: 10.49 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.01067/0.5498, allocations: 3.502 MB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5499, allocations: 0 / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.5499, allocations: 4 kB / 1.374 GB, free: 6.98 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.0007027/0.5506, allocations: 482.3 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5506, allocations: 12.03 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.5507, allocations: 42.45 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.5507, allocations: 7.906 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.5509, allocations: 181.5 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.5509, allocations: 0 / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.5509, allocations: 8 kB / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.5512, allocations: 85.64 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5512, allocations: 4 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5512, allocations: 7.875 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.5512, allocations: 3.953 kB / 1.375 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.5514, allocations: 59.95 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.552, allocations: 324.7 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.5523, allocations: 90.56 kB / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.5523, allocations: 4 kB / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.5525, allocations: 103.3 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 3.336e-06/0.5525, allocations: 3.984 kB / 1.376 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005092/0.5531, allocations: 201.7 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5531, allocations: 51.41 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.5532, allocations: 121.2 kB / 1.376 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.5532, allocations: 33.7 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.5533, allocations: 96.08 kB / 1.376 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.5533, allocations: 19.8 kB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.5533, allocations: 7.938 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5535, allocations: 318.8 kB / 1.376 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.5535, allocations: 23.98 kB / 1.376 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.5536, allocations: 74 kB / 1.376 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.5537, allocations: 35.98 kB / 1.377 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5537, allocations: 0 / 1.377 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002372/0.554, allocations: 129.4 kB / 1.377 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.554, allocations: 11.95 kB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.554, allocations: 0 / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.554, allocations: 4 kB / 1.377 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.5541, allocations: 20.17 kB / 1.377 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5542, allocations: 4 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.5542, allocations: 19.83 kB / 1.377 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.5543, allocations: 4 kB / 1.377 GB, free: 4.18 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 9.845e-05/0.5544, allocations: 118.8 kB / 1.377 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.5544, allocations: 7.906 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.5544, allocations: 16.67 kB / 1.377 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5544, allocations: 0 / 1.377 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5544, allocations: 7.984 kB / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5545, allocations: 0 / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.555, allocations: 438.7 kB / 1.377 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.555, allocations: 4 kB / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.5551, allocations: 15.95 kB / 1.377 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5551, allocations: 3.984 kB / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5551, allocations: 0 / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5551, allocations: 0 / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5551, allocations: 0 / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.5555, allocations: 271.3 kB / 1.378 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.5555, allocations: 85.02 kB / 1.378 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5556, allocations: 3.953 kB / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5557, allocations: 11.98 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.5557, allocations: 7.984 kB / 1.378 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5558, allocations: 4 kB / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.5558, allocations: 101.8 kB / 1.378 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5558, allocations: 4 kB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003778/0.5562, allocations: 63.92 kB / 1.378 GB, free: 2.941 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.001004/0.5572, allocations: 0.8722 MB / 1.379 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.5575, allocations: 103.8 kB / 1.379 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5575, allocations: 0 / 1.379 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.5577, allocations: 47.98 kB / 1.379 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.5579, allocations: 15.88 kB / 1.379 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.559, allocations: 1.39 MB / 1.38 GB, free: 440 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5593, allocations: 0.6926 MB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.5594, allocations: 7.984 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.5594, allocations: 23.44 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.5594, allocations: 3.938 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.575, allocations: 3.022 MB / 1.384 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.5753, allocations: 245.4 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.113, allocations: 2.672 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat does not exist to compare? outputFormat=mat