Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.001135/0.001135, allocations: 99.62 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.001362/0.001362, 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.505/1.505, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.53/2.53, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8386, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001803/0.8405, allocations: 1.171 MB / 0.982 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.8417, allocations: 0.6706 MB / 0.9827 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.8418, allocations: 0 / 0.9827 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.8418, allocations: 7.922 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.8419, allocations: 11.98 kB / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.8424, allocations: 95.64 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.8425, allocations: 47.92 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.8426, allocations: 7.984 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.8427, allocations: 31.91 kB / 0.9829 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.8428, allocations: 39.83 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.8428, allocations: 8 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.843, allocations: 63.92 kB / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.843, allocations: 15.92 kB / 0.983 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.843, allocations: 33.7 kB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.8432, allocations: 102 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.8432, allocations: 0 / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8432, allocations: 3.938 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8433, allocations: 0 / 0.9831 GB, free: 3.977 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.0006696/0.8439, allocations: 416.8 kB / 0.9835 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.844, allocations: 12.03 kB / 0.9835 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.844, allocations: 34.5 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.8441, allocations: 7.906 kB / 0.9836 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.8442, allocations: 171 kB / 0.9837 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.8443, allocations: 4 kB / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.8443, allocations: 4 kB / 0.9837 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.8445, allocations: 69.61 kB / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8445, allocations: 4 kB / 0.9838 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.8445, allocations: 4 kB / 0.9838 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8445, allocations: 0 / 0.9838 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.8447, allocations: 47.91 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.8453, allocations: 324.7 kB / 0.9842 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.8455, allocations: 50.56 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.8455, allocations: 0 / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.8457, allocations: 83.44 kB / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.8457, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004162/0.8462, allocations: 149.8 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.8462, allocations: 55.34 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.8463, allocations: 125.8 kB / 0.9846 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.8464, allocations: 25.7 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.8464, allocations: 96.31 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.8464, allocations: 15.88 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.8465, allocations: 4 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8466, allocations: 318.8 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.8467, allocations: 27.98 kB / 0.9851 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.8468, allocations: 54.94 kB / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.8469, allocations: 39.98 kB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8469, allocations: 4 kB / 0.9852 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002376/0.8471, allocations: 121.5 kB / 0.9853 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8471, allocations: 4 kB / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8472, allocations: 0 / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8472, allocations: 4 kB / 0.9853 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.8473, allocations: 15.98 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.8473, allocations: 0 / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.8474, allocations: 15.84 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.8474, allocations: 8.047 kB / 0.9853 GB, free: 1.465 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.0001117/0.8475, allocations: 121.8 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.8475, allocations: 3.953 kB / 0.9855 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.8476, allocations: 12.38 kB / 0.9855 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8476, allocations: 3.938 kB / 0.9855 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8476, allocations: 0 / 0.9855 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.8476, allocations: 3.984 kB / 0.9855 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.8481, allocations: 394.4 kB / 0.9858 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8481, allocations: 0 / 0.9858 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.8481, allocations: 15.86 kB / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8481, allocations: 0 / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.8482, allocations: 4 kB / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8482, allocations: 0 / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8482, allocations: 4 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.8485, allocations: 215.4 kB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.8485, allocations: 81.11 kB / 0.9862 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.8485, allocations: 4 kB / 0.9862 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.8486, allocations: 7.984 kB / 0.9862 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.8487, allocations: 8 kB / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.8487, allocations: 0 / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.8488, allocations: 95.27 kB / 0.9863 GB, free: 416 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8488, allocations: 0 / 0.9863 GB, free: 416 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003303/0.8491, allocations: 43.92 kB / 0.9863 GB, free: 372 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.000906/0.85, allocations: 0.8081 MB / 0.9871 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.8503, allocations: 87.94 kB / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8503, allocations: 0 / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.8504, allocations: 31.98 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.8506, allocations: 15.92 kB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.8514, allocations: 0.7264 MB / 0.9879 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.8518, allocations: 0.6926 MB / 0.9886 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.8518, allocations: 8.172 kB / 0.9886 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.8519, allocations: 19.44 kB / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.8519, allocations: 0 / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.8801, allocations: 2.319 MB / 0.9909 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.8805, allocations: 260.3 kB / 0.9912 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.705, allocations: 0 / 0.9912 GB, free: 11.4 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat does not exist to compare? outputFormat=mat