Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008637, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000846/0.0008461, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.2 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9502, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001643/0.9519, allocations: 1.184 MB / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.9531, allocations: 0.67 MB / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.9532, allocations: 0 / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.9532, allocations: 3.938 kB / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.9533, allocations: 18.5 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.9538, allocations: 100 kB / 0.9558 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.954, allocations: 65.91 kB / 0.9558 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.9541, allocations: 9.203 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.9542, allocations: 33.16 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.9542, allocations: 36.38 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.9543, allocations: 2.312 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.9544, allocations: 84.88 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.9545, allocations: 15.17 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.9545, allocations: 31.11 kB / 0.956 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.9547, allocations: 99.53 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9547, allocations: 0.9062 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9547, allocations: 0 / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9547, allocations: 0 / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000607/0.9554, allocations: 417.7 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.9554, allocations: 9.625 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.9555, allocations: 39.83 kB / 0.9566 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.9555, allocations: 11.48 kB / 0.9566 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.9556, allocations: 166.5 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.9557, allocations: 3.062 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.9557, allocations: 3.625 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.9559, allocations: 75.31 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9559, allocations: 0 / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.9559, allocations: 0 / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.9559, allocations: 5.266 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.9561, allocations: 45.67 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.9567, allocations: 325.8 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.9568, allocations: 51.33 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.9569, allocations: 38.28 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.9569, allocations: 1.438 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.9571, allocations: 87.09 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9571, allocations: 5.344 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004014/0.9575, allocations: 147 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.9576, allocations: 53.84 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.9577, allocations: 124.4 kB / 0.9577 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.9577, allocations: 27.7 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.9577, allocations: 86.98 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.9578, allocations: 18.39 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.9578, allocations: 0 / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.9578, allocations: 322.4 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.9579, allocations: 31.67 kB / 0.9581 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.958, allocations: 50.77 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.9581, allocations: 43.67 kB / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9581, allocations: 0 / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002284/0.9584, allocations: 118.5 kB / 0.9583 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9584, allocations: 8.547 kB / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.9584, allocations: 1.375 kB / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9584, allocations: 5.406 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.9585, allocations: 13.36 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9586, allocations: 1.75 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.9586, allocations: 12.84 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.9586, allocations: 6.469 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.319e-05/0.9587, allocations: 119.7 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.9587, allocations: 6.844 kB / 0.9585 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.9588, allocations: 21.78 kB / 0.9585 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.9588, allocations: 1.656 kB / 0.9585 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9588, allocations: 0 / 0.9585 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9588, allocations: 0 / 0.9585 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.9592, allocations: 384 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9592, allocations: 0 / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.9592, allocations: 17.2 kB / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9592, allocations: 0 / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.9593, allocations: 5.328 kB / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.9593, allocations: 1.281 kB / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9593, allocations: 0 / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.9595, allocations: 214.8 kB / 0.9591 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.9596, allocations: 83.36 kB / 0.9592 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.9596, allocations: 7.938 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.9597, allocations: 4.125 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.9597, allocations: 11.02 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.9598, allocations: 2.5 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.9598, allocations: 95.86 kB / 0.9593 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9598, allocations: 0 / 0.9593 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003123/0.9601, allocations: 40.56 kB / 0.9594 GB, free: 3.281 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008199/0.9609, allocations: 0.8161 MB / 0.9602 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.9612, allocations: 78.67 kB / 0.9602 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9612, allocations: 0 / 0.9602 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.9613, allocations: 39.56 kB / 0.9603 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.9616, allocations: 15.11 kB / 0.9603 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.9627, allocations: 0.601 MB / 0.9609 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.9629, allocations: 0.6887 MB / 0.9615 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.9629, allocations: 7.438 kB / 0.9615 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.9629, allocations: 22.77 kB / 0.9616 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.963, allocations: 0 / 0.9616 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.9781, allocations: 2.333 MB / 0.9638 GB, free: 176 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.9784, allocations: 252.1 kB / 0.9641 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.701, allocations: 0 / 0.9641 GB, free: 15.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat does not exist to compare? outputFormat=mat