Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.206/2.206, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001205/0.001205, allocations: 178.9 kB / 498.1 MB, free: 5.762 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.53/1.53, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009326/0.0009326, allocations: 112.7 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 8.906 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2709, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.4501, allocations: 151.2 MB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4504, allocations: 91.88 kB / 1.371 GB, free: 10.69 MB / 0.8698 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.009208/0.4596, allocations: 3.036 MB / 1.374 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4596, allocations: 0 / 1.374 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4597, allocations: 0 / 1.374 GB, free: 7.645 MB / 0.8698 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.000528/0.4602, allocations: 428.8 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4602, allocations: 8.031 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.4603, allocations: 42.44 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.4603, allocations: 11.86 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4605, allocations: 178.9 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4605, allocations: 0 / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4605, allocations: 4 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4607, allocations: 69.66 kB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4607, allocations: 0 / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4607, allocations: 8 kB / 1.374 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4608, allocations: 0 / 1.374 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.4609, allocations: 39.97 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.4615, allocations: 328.7 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4616, allocations: 46.56 kB / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4616, allocations: 4.062 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.4618, allocations: 79.5 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.4618, allocations: 0 / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0003911/0.4622, allocations: 157.4 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4623, allocations: 51.41 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.4624, allocations: 116.9 kB / 1.375 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.4624, allocations: 29.7 kB / 1.375 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.4625, allocations: 92.31 kB / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4625, allocations: 19.73 kB / 1.375 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.4625, allocations: 4 kB / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4626, allocations: 322.8 kB / 1.376 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.4627, allocations: 23.98 kB / 1.376 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.857e-05/0.4628, allocations: 58.88 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.908e-05/0.4629, allocations: 44.22 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4629, allocations: 0 / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002228/0.4632, allocations: 117.5 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4632, allocations: 4 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4632, allocations: 4 kB / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4632, allocations: 0 / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.4633, allocations: 11.98 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4633, allocations: 7.953 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.4634, allocations: 8 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.4634, allocations: 8.047 kB / 1.376 GB, free: 5.121 MB / 0.8698 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 8.593e-05/0.4635, allocations: 121.8 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.4635, allocations: 11.84 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.4636, allocations: 8.375 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4636, allocations: 0 / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4636, allocations: 4 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4636, allocations: 3.953 kB / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.4641, allocations: 378.5 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4641, allocations: 3.938 kB / 1.376 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.4641, allocations: 11.98 kB / 1.376 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4641, allocations: 0 / 1.376 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4641, allocations: 4 kB / 1.376 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4641, allocations: 7.891 kB / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4642, allocations: 0 / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.4644, allocations: 215.4 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.4645, allocations: 77.11 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.4645, allocations: 4 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.4646, allocations: 4 kB / 1.377 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.4647, allocations: 11.94 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4647, allocations: 8 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.4647, allocations: 91.27 kB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.144e-06/0.4647, allocations: 0 / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002953/0.465, allocations: 51.92 kB / 1.377 GB, free: 4.023 MB / 0.8698 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.0008552/0.4659, allocations: 0.8209 MB / 1.378 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.4661, allocations: 92.19 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4662, allocations: 0 / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/0.4663, allocations: 35.98 kB / 1.378 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.4664, allocations: 17.19 kB / 1.378 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/0.4672, allocations: 0.7264 MB / 1.379 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4676, allocations: 0.6982 MB / 1.379 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.4676, allocations: 4.172 kB / 1.379 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.4677, allocations: 19.44 kB / 1.379 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4677, allocations: 0 / 1.379 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.4818, allocations: 2.498 MB / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/0.4821, allocations: 230.6 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.001, allocations: 0 / 1.382 GB, free: 14.95 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat does not exist to compare? outputFormat=mat