Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 172.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.786/1.786, allocations: 221.3 MB / 0.7872 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001005, allocations: 94.02 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.098e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3789, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.567, allocations: 151.2 MB / 1.36 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.567, allocations: 78.81 kB / 1.36 GB, free: 18.98 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009246/1.577, allocations: 3.017 MB / 1.363 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.577, allocations: 0 / 1.363 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.926e-06/1.577, allocations: 0 / 1.363 GB, free: 34.53 MB / 0.8386 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.0005034/1.577, allocations: 422.5 kB / 1.364 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.577, allocations: 11.09 kB / 1.364 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/1.577, allocations: 35.19 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/1.577, allocations: 7.625 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/1.577, allocations: 173.3 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.577, allocations: 3.844 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/1.577, allocations: 8.297 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/1.578, allocations: 71.92 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.578, allocations: 3.938 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.578, allocations: 0 / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.578, allocations: 0 / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/1.578, allocations: 23.95 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/1.578, allocations: 317 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/1.578, allocations: 38.66 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/1.578, allocations: 32.73 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.578, allocations: 7.734 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/1.579, allocations: 72.27 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.579, allocations: 3.875 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002184/1.579, allocations: 94.66 kB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/1.579, allocations: 55.28 kB / 1.364 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/1.579, allocations: 112.1 kB / 1.365 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.579, allocations: 32.8 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/1.579, allocations: 89.39 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/1.579, allocations: 19.92 kB / 1.365 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/1.579, allocations: 7.938 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/1.579, allocations: 319.8 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/1.579, allocations: 19.55 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/1.579, allocations: 40.73 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/1.579, allocations: 25.36 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.579, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001376/1.579, allocations: 107.2 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.579, allocations: 5.094 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.579, allocations: 0 / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.579, allocations: 3.844 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/1.58, allocations: 10.45 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/1.58, allocations: 11.83 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/1.58, allocations: 13.69 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.58, allocations: 0 / 1.365 GB, free: 32.74 MB / 0.8386 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 () * 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 6.528e-05/1.58, allocations: 113 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/1.58, allocations: 10.5 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/1.58, allocations: 8.375 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/1.58, allocations: 3.844 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.58, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.58, allocations: 3.953 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/1.58, allocations: 363.8 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.58, allocations: 0 / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/1.58, allocations: 10.72 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.58, allocations: 0 / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.58, allocations: 0 / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.58, allocations: 7.828 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.58, allocations: 0 / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/1.58, allocations: 193.3 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/1.58, allocations: 77.11 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.58, allocations: 3.812 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/1.581, allocations: 10.84 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/1.581, allocations: 14.95 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/1.581, allocations: 2.938 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.325e-05/1.581, allocations: 94.56 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.581, allocations: 0 / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002715/1.581, allocations: 50.09 kB / 1.366 GB, free: 31.98 MB / 0.8386 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 () * 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.0006777/1.582, allocations: 0.8051 MB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001458/1.582, allocations: 55.41 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.582, allocations: 7.812 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/1.582, allocations: 31.05 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/1.582, allocations: 13.36 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/1.582, allocations: 161 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.583, allocations: 0.6898 MB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.718e-05/1.583, allocations: 9.344 kB / 1.368 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/1.583, allocations: 23.25 kB / 1.368 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.583, allocations: 0 / 1.368 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/1.597, allocations: 2.506 MB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.597, allocations: 220.3 kB / 1.371 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/3.323, allocations: 0 / 1.371 GB, free: 29.98 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat does not exist to compare? outputFormat=mat