Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.001173/0.001173, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001278/0.001278, allocations: 177.3 kB / 15.95 MB, free: 216 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.47/2.47, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7399, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001618/0.7416, allocations: 1.177 MB / 0.9547 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.7427, allocations: 0.6745 MB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.7427, allocations: 5.094 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.7428, allocations: 3.938 kB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.7428, allocations: 14.19 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.7433, allocations: 90.72 kB / 0.9555 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.7434, allocations: 46.59 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.7435, allocations: 9.406 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.7436, allocations: 33.38 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.7437, allocations: 43.8 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.7437, allocations: 3.438 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.7438, allocations: 62.25 kB / 0.9557 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.7439, allocations: 15.17 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.7439, allocations: 34.2 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.7441, allocations: 96.16 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.7441, allocations: 0 / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7441, allocations: 1.219 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7441, allocations: 0 / 0.9558 GB, free: 6.375 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.000513/0.7446, allocations: 413.8 kB / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.7447, allocations: 9.562 kB / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.7447, allocations: 43.77 kB / 0.9563 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.7448, allocations: 11.36 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/0.7448, allocations: 166.5 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.7449, allocations: 2.438 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.7449, allocations: 7.594 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.7451, allocations: 70.5 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7451, allocations: 0 / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7451, allocations: 1.438 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.7451, allocations: 9.219 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.7453, allocations: 41.88 kB / 0.9566 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.7459, allocations: 333.2 kB / 0.9569 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.7461, allocations: 47.09 kB / 0.9569 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.7461, allocations: 5.094 kB / 0.9569 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.7464, allocations: 91.31 kB / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.7464, allocations: 1.344 kB / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000437/0.7468, allocations: 142.8 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.7469, allocations: 65.88 kB / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.747, allocations: 120.5 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.747, allocations: 26.86 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.7471, allocations: 95.23 kB / 0.9575 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.7471, allocations: 14.55 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.7471, allocations: 4 kB / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.7472, allocations: 312.9 kB / 0.9578 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.7473, allocations: 37.42 kB / 0.9578 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.7474, allocations: 50.39 kB / 0.9579 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.7475, allocations: 31.55 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7475, allocations: 0 / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.7477, allocations: 122 kB / 0.958 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7478, allocations: 5.844 kB / 0.958 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7478, allocations: 4.922 kB / 0.958 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7478, allocations: 1.156 kB / 0.958 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.7479, allocations: 19.83 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7479, allocations: 0 / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.748, allocations: 15.81 kB / 0.958 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.748, allocations: 3.5 kB / 0.9581 GB, free: 4.258 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 0.0001093/0.7481, allocations: 115.4 kB / 0.9582 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.7482, allocations: 7.5 kB / 0.9582 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.7482, allocations: 12.36 kB / 0.9582 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7482, allocations: 5.797 kB / 0.9582 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7482, allocations: 0 / 0.9582 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7482, allocations: 0 / 0.9582 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.7487, allocations: 388.6 kB / 0.9586 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.7487, allocations: 0 / 0.9586 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.7487, allocations: 5.25 kB / 0.9586 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7488, allocations: 3.953 kB / 0.9586 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.7488, allocations: 9.266 kB / 0.9586 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7488, allocations: 1.406 kB / 0.9586 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7488, allocations: 4 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.7491, allocations: 209.9 kB / 0.9588 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.7491, allocations: 83.58 kB / 0.9589 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.7492, allocations: 9.188 kB / 0.9589 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.7493, allocations: 15.88 kB / 0.9589 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.7493, allocations: 6.609 kB / 0.9589 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.7493, allocations: 2.125 kB / 0.9589 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.7494, allocations: 105 kB / 0.959 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7494, allocations: 0 / 0.959 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003882/0.7498, allocations: 40.12 kB / 0.959 GB, free: 3.336 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.0008639/0.7507, allocations: 0.8077 MB / 0.9598 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.751, allocations: 82.8 kB / 0.9599 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.751, allocations: 0 / 0.9599 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.7511, allocations: 35.23 kB / 0.9599 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.7513, allocations: 7.641 kB / 0.9599 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.752, allocations: 0.7363 MB / 0.9607 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.7522, allocations: 0.6908 MB / 0.9613 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.7522, allocations: 3.312 kB / 0.9613 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.7523, allocations: 22.02 kB / 0.9614 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7523, allocations: 1.219 kB / 0.9614 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.7761, allocations: 2.311 MB / 0.9636 GB, free: 16 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003668/0.7765, allocations: 239.7 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.614, allocations: 0 / 0.9638 GB, free: 15.78 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat does not exist to compare? outputFormat=mat