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.001084/0.001084, allocations: 99.7 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.001091/0.001091, allocations: 177.3 kB / 15.94 MB, free: 228 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.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.517/2.517, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8238, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001451/0.8253, allocations: 1.17 MB / 0.9547 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.8262, allocations: 0.6743 MB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.8263, allocations: 1.375 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.8263, allocations: 7.922 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.8264, allocations: 10.89 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.8268, allocations: 93.94 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.8269, allocations: 47.91 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.827, allocations: 8.188 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.8271, allocations: 37.86 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.8271, allocations: 31.22 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.8272, allocations: 3.531 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.8273, allocations: 71.55 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.8274, allocations: 14.58 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.8274, allocations: 30.83 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.8276, allocations: 103.2 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.8276, allocations: 0 / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8276, allocations: 1.406 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.8276, allocations: 0 / 0.9558 GB, free: 6.336 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.0005166/0.8281, allocations: 409.6 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8282, allocations: 12.91 kB / 0.9562 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.8282, allocations: 43.59 kB / 0.9563 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.8282, allocations: 11.52 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.8283, allocations: 171.2 kB / 0.9564 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.8284, allocations: 2.125 kB / 0.9564 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.8284, allocations: 4.156 kB / 0.9565 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.8286, allocations: 69.75 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.8286, allocations: 1.125 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8286, allocations: 0 / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8286, allocations: 9.438 kB / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.8288, allocations: 49.28 kB / 0.9566 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.8293, allocations: 322.2 kB / 0.9569 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.8295, allocations: 50.81 kB / 0.9569 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.8295, allocations: 1 kB / 0.9569 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.8297, allocations: 83.73 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8297, allocations: 5.344 kB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004333/0.8302, allocations: 147.6 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.8302, allocations: 56.72 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.8303, allocations: 117.1 kB / 0.9573 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.8303, allocations: 30.83 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.8304, allocations: 94.41 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.8304, allocations: 19.22 kB / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.8304, allocations: 0 / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.8305, allocations: 321 kB / 0.9578 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.8306, allocations: 32.95 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.8307, allocations: 50.97 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.8308, allocations: 39.55 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8308, allocations: 0 / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002441/0.8311, allocations: 118.7 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8311, allocations: 5.062 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8311, allocations: 9.484 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8311, allocations: 1.219 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.8312, allocations: 13.7 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8313, allocations: 1.062 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.8313, allocations: 9.375 kB / 0.958 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.8314, allocations: 10.7 kB / 0.958 GB, free: 4.223 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 8.773e-05/0.8314, allocations: 119.5 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.8315, allocations: 10.88 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.8315, allocations: 5.844 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8315, allocations: 3.953 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8315, allocations: 1.469 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8315, allocations: 0 / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.8319, allocations: 388.9 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.832, allocations: 4 kB / 0.9586 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.832, allocations: 11.7 kB / 0.9586 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.832, allocations: 5.203 kB / 0.9586 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.832, allocations: 1.25 kB / 0.9586 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.832, allocations: 80 / 0.9586 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.832, allocations: 5.172 kB / 0.9586 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.8323, allocations: 218.8 kB / 0.9588 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.8324, allocations: 82.2 kB / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.8324, allocations: 5.422 kB / 0.9589 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.8325, allocations: 8.219 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.8325, allocations: 6.797 kB / 0.9589 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.8326, allocations: 6 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.8326, allocations: 97.2 kB / 0.959 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8326, allocations: 0 / 0.959 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003301/0.833, allocations: 46.89 kB / 0.959 GB, free: 3.297 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.0007117/0.8337, allocations: 0.8066 MB / 0.9598 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.8339, allocations: 79.27 kB / 0.9599 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8339, allocations: 0 / 0.9599 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.834, allocations: 39.58 kB / 0.9599 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.8342, allocations: 13.69 kB / 0.9599 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.8349, allocations: 0.726 MB / 0.9607 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.835, allocations: 0.6891 MB / 0.9613 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.835, allocations: 8.297 kB / 0.9613 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.8351, allocations: 18.19 kB / 0.9614 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8351, allocations: 0 / 0.9614 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.8489, allocations: 2.318 MB / 0.9636 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.8493, allocations: 239 kB / 0.9638 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.593, allocations: 0 / 0.9638 GB, free: 15.74 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