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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001635/0.001634, allocations: 175.9 kB / 0.4901 GB, free: 2.254 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.516/1.516, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009017/0.0009017, allocations: 94.22 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 10.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.4809, allocations: 152 MB / 1.378 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.4813, allocations: 75.95 kB / 1.378 GB, free: 1.461 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009959/0.4912, allocations: 3.044 MB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4913, allocations: 0 / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.4913, allocations: 4 kB / 1.381 GB, free: 14.41 MB / 0.8855 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.0006073/0.4919, allocations: 436.7 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.492, allocations: 8.031 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.492, allocations: 30.56 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.4921, allocations: 7.953 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4922, allocations: 174.9 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.4922, allocations: 11.98 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4923, allocations: 7.938 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4925, allocations: 65.66 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4925, allocations: 0 / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4925, allocations: 4 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4925, allocations: 3.938 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.4927, allocations: 47.97 kB / 1.382 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.4934, allocations: 316.8 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.4935, allocations: 50.56 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4935, allocations: 4 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4937, allocations: 83.44 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.4937, allocations: 0 / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004391/0.4942, allocations: 149.5 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4943, allocations: 55.41 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.4944, allocations: 116.9 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4944, allocations: 25.7 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.4945, allocations: 92.23 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.4945, allocations: 23.86 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4945, allocations: 0 / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4947, allocations: 314.8 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/0.4948, allocations: 39.91 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.4949, allocations: 54.5 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.495, allocations: 27.98 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.495, allocations: 4 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002585/0.4952, allocations: 121.6 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4953, allocations: 4 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4953, allocations: 0 / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4953, allocations: 4 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.4954, allocations: 15.92 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4954, allocations: 3.953 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.4955, allocations: 11.91 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4955, allocations: 4.062 kB / 1.383 GB, free: 11.89 MB / 0.8855 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.0001162/0.4956, allocations: 130.5 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.4957, allocations: 3.984 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.4957, allocations: 12.38 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4957, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4957, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4957, allocations: 3.953 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.4962, allocations: 390.8 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4962, allocations: 0 / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.4963, allocations: 4 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4963, allocations: 3.984 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4963, allocations: 0 / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4963, allocations: 3.953 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4963, allocations: 0 / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.4966, allocations: 215.6 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.4967, allocations: 89 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.4967, allocations: 0 / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.4968, allocations: 4 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.4969, allocations: 15.94 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/0.4969, allocations: 7.938 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.497, allocations: 91.27 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.497, allocations: 4 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003334/0.4973, allocations: 51.92 kB / 1.384 GB, free: 10.78 MB / 0.8855 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.0009185/0.4983, allocations: 0.8201 MB / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.4985, allocations: 79.95 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4985, allocations: 0 / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.4986, allocations: 35.98 kB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4988, allocations: 8.812 kB / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.4997, allocations: 0.7458 MB / 1.386 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.5001, allocations: 0.6926 MB / 1.386 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.5001, allocations: 4.188 kB / 1.386 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.5002, allocations: 19.42 kB / 1.386 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5002, allocations: 0 / 1.386 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.5149, allocations: 2.506 MB / 1.389 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.5152, allocations: 262.2 kB / 1.389 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.078, allocations: 0 / 1.389 GB, free: 5.605 MB / 0.8855 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) 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