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.593/2.593, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001216/0.001216, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.972/1.972, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.001132/0.001132, allocations: 87.91 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.854e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.382, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.548, allocations: 151.3 MB / 1.36 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.548, allocations: 81.16 kB / 1.36 GB, free: 18.93 MB / 0.823 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.01062/1.559, allocations: 3.483 MB / 1.364 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.559, allocations: 0 / 1.364 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.559, allocations: 0 / 1.364 GB, free: 34.45 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.0005614/1.56, allocations: 472.1 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.56, allocations: 11.66 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/1.56, allocations: 35.05 kB / 1.364 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/1.56, allocations: 15.7 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.56, allocations: 179.8 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/1.56, allocations: 5.672 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/1.56, allocations: 7.188 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.56, allocations: 71.45 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/1.56, allocations: 0 / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.56, allocations: 1.266 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.56, allocations: 4 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/1.56, allocations: 38.83 kB / 1.365 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/1.561, allocations: 324 kB / 1.365 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/1.561, allocations: 64.91 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/1.561, allocations: 33.11 kB / 1.365 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/1.561, allocations: 7.781 kB / 1.365 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/1.561, allocations: 86.72 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/1.561, allocations: 0 / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002749/1.562, allocations: 120.6 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/1.562, allocations: 61.69 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/1.562, allocations: 123.2 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.562, allocations: 29.27 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/1.562, allocations: 97.41 kB / 1.365 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/1.562, allocations: 18.59 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.562, allocations: 3.5 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.562, allocations: 323.6 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/1.562, allocations: 11.03 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/1.562, allocations: 67.36 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/1.562, allocations: 25.59 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.562, allocations: 0 / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/1.562, allocations: 112.2 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.562, allocations: 10.48 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.562, allocations: 3.953 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.562, allocations: 3.844 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/1.562, allocations: 18.27 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.562, allocations: 0 / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/1.563, allocations: 7.906 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.563, allocations: 13.81 kB / 1.366 GB, free: 32.59 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 7.134e-05/1.563, allocations: 119.8 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/1.563, allocations: 8.5 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/1.563, allocations: 11.75 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.563, allocations: 6.578 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.563, allocations: 0 / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.563, allocations: 0 / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/1.563, allocations: 407.9 kB / 1.367 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.563, allocations: 4 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/1.563, allocations: 10.66 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.563, allocations: 7.938 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.563, allocations: 10.25 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.563, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.563, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/1.563, allocations: 220.8 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/1.563, allocations: 81.02 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/1.563, allocations: 10.55 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.564, allocations: 10.44 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/1.564, allocations: 6.734 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.564, allocations: 2.875 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.525e-05/1.564, allocations: 104.3 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.564, allocations: 0 / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003157/1.564, allocations: 68.28 kB / 1.367 GB, free: 31.8 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.0007637/1.565, allocations: 0.8379 MB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001603/1.565, allocations: 77.66 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.565, allocations: 0 / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/1.565, allocations: 36.41 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/1.565, allocations: 16.78 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/1.566, allocations: 177.1 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/1.566, allocations: 0.7058 MB / 1.369 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.906e-05/1.566, allocations: 11.05 kB / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/1.566, allocations: 20.72 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.566, allocations: 0 / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/1.581, allocations: 3.044 MB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.581, allocations: 214.8 kB / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/3.354, allocations: 0 / 1.372 GB, free: 29.77 MB / 0.8386 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