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.001174/0.001174, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001648/0.001648, allocations: 168.7 kB / 15.95 MB, free: 204 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.492/1.492, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.647/2.647, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004452, allocations: 11.94 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7586, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001641/0.7603, allocations: 1.182 MB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.7614, allocations: 0.6706 MB / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.7615, allocations: 0 / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.7615, allocations: 7.922 kB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.7616, allocations: 11.94 kB / 0.983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.7622, allocations: 95.77 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.7623, allocations: 67.77 kB / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.7624, allocations: 15.97 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.439e-05/0.7625, allocations: 27.92 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.7626, allocations: 35.83 kB / 0.9832 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.7626, allocations: 7.984 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.7628, allocations: 79.94 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.7629, allocations: 19.91 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.7629, allocations: 37.69 kB / 0.9833 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.7631, allocations: 90.09 kB / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.7632, allocations: 7.984 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.826e-06/0.7632, allocations: 3.938 kB / 0.9834 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.7632, allocations: 3.938 kB / 0.9834 GB, free: 3.848 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.0006265/0.7638, allocations: 404.8 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7639, allocations: 8.031 kB / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.7639, allocations: 42.55 kB / 0.9839 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.764, allocations: 3.906 kB / 0.9839 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7641, allocations: 171 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.7641, allocations: 4 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.7641, allocations: 8 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7643, allocations: 69.61 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7643, allocations: 7.938 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7644, allocations: 3.984 kB / 0.9841 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7644, allocations: 4 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.7645, allocations: 39.92 kB / 0.9842 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.7651, allocations: 324.7 kB / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.7653, allocations: 50.56 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.7654, allocations: 32.97 kB / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.7654, allocations: 4 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.7656, allocations: 91.36 kB / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7656, allocations: 0 / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004/0.766, allocations: 145.5 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.7661, allocations: 63.39 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.7662, allocations: 113.8 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.7662, allocations: 33.64 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.7663, allocations: 92.31 kB / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.7663, allocations: 11.81 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.7663, allocations: 4 kB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7665, allocations: 318.8 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.7666, allocations: 35.92 kB / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.564e-05/0.7667, allocations: 47 kB / 0.9855 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.445e-05/0.7668, allocations: 35.97 kB / 0.9855 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.7668, allocations: 7.953 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/0.767, allocations: 117.5 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7671, allocations: 4 kB / 0.9856 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7671, allocations: 4 kB / 0.9856 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.7671, allocations: 0 / 0.9856 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.7672, allocations: 11.98 kB / 0.9857 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.7672, allocations: 8.062 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.7673, allocations: 15.84 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.7673, allocations: 4 kB / 0.9857 GB, free: 1.309 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.000105/0.7674, allocations: 121.8 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.7675, allocations: 7.953 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.7675, allocations: 8.375 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7675, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7675, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7675, allocations: 8 kB / 0.9858 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.768, allocations: 390.3 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.768, allocations: 0 / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.768, allocations: 7.984 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7681, allocations: 0 / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.7681, allocations: 8 kB / 0.9862 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7681, allocations: 4 kB / 0.9862 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7681, allocations: 3.938 kB / 0.9862 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.7684, allocations: 223.3 kB / 0.9864 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.7684, allocations: 77.11 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.7684, allocations: 0 / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.7685, allocations: 12 kB / 0.9865 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.7686, allocations: 7.984 kB / 0.9865 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.7686, allocations: 4 kB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.517e-05/0.7687, allocations: 99.36 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7687, allocations: 0 / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003167/0.769, allocations: 43.92 kB / 0.9867 GB, free: 204 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.0008678/0.7699, allocations: 0.8019 MB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.7701, allocations: 83.89 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7701, allocations: 0 / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7702, allocations: 35.98 kB / 0.9876 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.7705, allocations: 8.266 kB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.7717, allocations: 0.6143 MB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.772, allocations: 0.6887 MB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.772, allocations: 4.188 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.7721, allocations: 23.42 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7721, allocations: 4 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.7858, allocations: 2.338 MB / 0.9911 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.786, allocations: 263.8 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.656, allocations: 0 / 0.9914 GB, free: 11.34 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