Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_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.000998/0.0009981, 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.0009503/0.0009502, 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.569/1.569, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.623/2.623, allocations: 409.2 MB / 0.6838 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 12 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8793, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001852/0.8812, allocations: 1.175 MB / 0.982 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.8825, allocations: 0.6745 MB / 0.9827 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.8826, allocations: 0 / 0.9827 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.8826, allocations: 0 / 0.9827 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.8827, allocations: 11.98 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.8832, allocations: 99.62 kB / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.8833, allocations: 43.94 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.8835, allocations: 15.97 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.067e-05/0.8836, allocations: 31.84 kB / 0.9829 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.8836, allocations: 31.91 kB / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.8837, allocations: 4 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.8838, allocations: 71.92 kB / 0.983 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.8839, allocations: 15.86 kB / 0.983 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.8839, allocations: 37.7 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.8841, allocations: 98 kB / 0.9831 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.8841, allocations: 3.938 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8841, allocations: 0 / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8842, allocations: 0 / 0.9831 GB, free: 4.008 MB / 0.7325 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.0006596/0.8848, allocations: 412.8 kB / 0.9835 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.8849, allocations: 12.03 kB / 0.9835 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.885, allocations: 34.56 kB / 0.9836 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.885, allocations: 7.906 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.8851, allocations: 171 kB / 0.9837 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.8852, allocations: 4 kB / 0.9837 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8852, allocations: 8 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.8854, allocations: 73.61 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.8854, allocations: 0 / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.8855, allocations: 4 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.8855, allocations: 0 / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.8856, allocations: 47.91 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.8863, allocations: 324.7 kB / 0.9842 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.8864, allocations: 50.56 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.8865, allocations: 0 / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.8867, allocations: 87.44 kB / 0.9843 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.8867, allocations: 0 / 0.9843 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004471/0.8871, allocations: 145.5 kB / 0.9844 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8872, allocations: 55.41 kB / 0.9845 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.8873, allocations: 121.8 kB / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.8873, allocations: 33.7 kB / 0.9846 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.8874, allocations: 96.38 kB / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.8875, allocations: 11.81 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.8875, allocations: 4 kB / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8877, allocations: 322.8 kB / 0.9851 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.8877, allocations: 23.98 kB / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.8878, allocations: 58.48 kB / 0.9851 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.8879, allocations: 32 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.888, allocations: 0 / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002445/0.8882, allocations: 121.5 kB / 0.9853 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8882, allocations: 4 kB / 0.9853 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8882, allocations: 4 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8883, allocations: 0 / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.8884, allocations: 11.98 kB / 0.9853 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.8884, allocations: 4 kB / 0.9853 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.8885, allocations: 15.84 kB / 0.9853 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.8885, allocations: 11.92 kB / 0.9853 GB, free: 1.5 MB / 0.7325 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.0001009/0.8886, allocations: 121.8 kB / 0.9854 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.8886, allocations: 7.953 kB / 0.9855 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.8887, allocations: 8.375 kB / 0.9855 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8887, allocations: 0 / 0.9855 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8887, allocations: 0 / 0.9855 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.8887, allocations: 7.984 kB / 0.9855 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.8891, allocations: 386.3 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8892, allocations: 0 / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.8892, allocations: 11.98 kB / 0.9858 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.8892, allocations: 3.984 kB / 0.9859 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.8892, allocations: 7.938 kB / 0.9859 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8892, allocations: 0 / 0.9859 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8892, allocations: 0 / 0.9859 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.8895, allocations: 219.8 kB / 0.9861 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.8896, allocations: 77.11 kB / 0.9861 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.8896, allocations: 4 kB / 0.9861 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.8897, allocations: 11.98 kB / 0.9862 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.8898, allocations: 0 / 0.9862 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.8898, allocations: 4 kB / 0.9862 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.8899, allocations: 99.86 kB / 0.9863 GB, free: 456 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8899, allocations: 0 / 0.9863 GB, free: 456 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000338/0.8902, allocations: 43.92 kB / 0.9863 GB, free: 412 kB / 0.7325 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.001039/0.8913, allocations: 0.8149 MB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.8915, allocations: 79.89 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8915, allocations: 4.125 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8917, allocations: 35.98 kB / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.8919, allocations: 7.984 kB / 0.9872 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.8928, allocations: 0.7263 MB / 0.9879 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.8931, allocations: 0.6926 MB / 0.9886 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.8931, allocations: 8.172 kB / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.8932, allocations: 19.44 kB / 0.9886 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.8932, allocations: 0 / 0.9886 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.9076, allocations: 2.317 MB / 0.9909 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.9078, allocations: 246.2 kB / 0.9911 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.749, allocations: 0 / 0.9911 GB, free: 11.5 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat does not exist to compare? outputFormat=mat