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.001056/0.001056, allocations: 90.75 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.00173/0.00173, 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.551/1.551, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.676/2.676, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.000389, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8182, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001651/0.8199, allocations: 1.179 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.821, allocations: 0.6706 MB / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.8211, allocations: 0 / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.8211, allocations: 3.938 kB / 0.9829 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.8212, allocations: 15.91 kB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.8217, allocations: 99.77 kB / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.8218, allocations: 67.78 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.8219, allocations: 11.97 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.822, allocations: 27.92 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.822, allocations: 39.83 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.8221, allocations: 4 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.8222, allocations: 91.84 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.8223, allocations: 11.92 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.8223, allocations: 37.64 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.8225, allocations: 102.1 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8225, allocations: 0 / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8225, allocations: 0 / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8225, allocations: 0 / 0.9834 GB, free: 3.883 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.0006651/0.8232, allocations: 412.8 kB / 0.9838 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.8232, allocations: 8.031 kB / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.8233, allocations: 34.56 kB / 0.9839 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.8233, allocations: 7.906 kB / 0.9839 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.8235, allocations: 174.9 kB / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.8235, allocations: 4 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.8236, allocations: 8 kB / 0.984 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.8238, allocations: 69.61 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8238, allocations: 11.94 kB / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.8238, allocations: 0 / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8238, allocations: 0 / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.824, allocations: 47.95 kB / 0.9842 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.8246, allocations: 324.7 kB / 0.9845 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.8248, allocations: 50.55 kB / 0.9845 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.8249, allocations: 40.91 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.8249, allocations: 4 kB / 0.9846 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.8251, allocations: 79.38 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.8251, allocations: 0 / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/0.8255, allocations: 149.6 kB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.8256, allocations: 55.41 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.8257, allocations: 125.8 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.8258, allocations: 29.64 kB / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.8258, allocations: 88.33 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.8259, allocations: 15.81 kB / 0.9851 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-06/0.8259, allocations: 4 kB / 0.9851 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.826, allocations: 314.8 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.8261, allocations: 35.98 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.8262, allocations: 50.55 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.8263, allocations: 35.92 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8263, allocations: 7.953 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002381/0.8266, allocations: 113.5 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8266, allocations: 7.984 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8266, allocations: 0 / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8266, allocations: 4 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.8267, allocations: 8 kB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8267, allocations: 8 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.8268, allocations: 27.77 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.8269, allocations: 0 / 0.9857 GB, free: 1.328 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.0001245/0.827, allocations: 120.5 kB / 0.9858 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.827, allocations: 3.953 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.8271, allocations: 16.36 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8271, allocations: 0 / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8271, allocations: 0 / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8271, allocations: 4 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.8276, allocations: 394.7 kB / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8276, allocations: 0 / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.8276, allocations: 4 kB / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.8277, allocations: 0 / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.8277, allocations: 7.984 kB / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8277, allocations: 4 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8277, allocations: 4 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.828, allocations: 211.4 kB / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.828, allocations: 85.05 kB / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.828, allocations: 3.984 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.8281, allocations: 8 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.8282, allocations: 11.98 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.8282, allocations: 0 / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.8283, allocations: 95.27 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8283, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002973/0.8286, allocations: 39.94 kB / 0.9866 GB, free: 240 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.0008169/0.8294, allocations: 0.8176 MB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.8296, allocations: 75.91 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8296, allocations: 4 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.8297, allocations: 39.91 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.83, allocations: 8 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.831, allocations: 0.6081 MB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.8313, allocations: 0.6887 MB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.8314, allocations: 8.125 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.8314, allocations: 23.42 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8314, allocations: 4 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.8445, allocations: 2.317 MB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.8448, allocations: 257.7 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.738, allocations: 3.938 kB / 0.9914 GB, free: 11.39 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