Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.366/2.366, allocations: 390.3 MB / 405.3 MB, free: 13.35 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.001015/0.001015, allocations: 185 kB / 498.1 MB, free: 5.613 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.498/1.498, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.0009647/0.0009648, allocations: 100.3 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 8.594 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2729, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.4397, allocations: 151.2 MB / 1.371 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.44, allocations: 87.94 kB / 1.371 GB, free: 10.74 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.009181/0.4492, allocations: 3.028 MB / 1.374 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4492, allocations: 0 / 1.374 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4493, allocations: 4 kB / 1.374 GB, free: 7.703 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.0005588/0.4498, allocations: 429.7 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4499, allocations: 12.03 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.4499, allocations: 34.56 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.45, allocations: 7.859 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4501, allocations: 174.9 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.4501, allocations: 11.94 kB / 1.374 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4502, allocations: 4 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4504, allocations: 65.66 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4504, allocations: 0 / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4504, allocations: 4 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4504, allocations: 8 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.4506, allocations: 39.97 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.4512, allocations: 328.6 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.4513, allocations: 46.56 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4514, allocations: 0 / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.4515, allocations: 79.48 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4516, allocations: 4 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004076/0.452, allocations: 153.5 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.452, allocations: 55.41 kB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.4521, allocations: 112.9 kB / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4521, allocations: 25.7 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.4522, allocations: 100.3 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.4523, allocations: 15.81 kB / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.4523, allocations: 4 kB / 1.375 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4524, allocations: 318.8 kB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.4525, allocations: 27.98 kB / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.889e-05/0.4526, allocations: 54.94 kB / 1.376 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.4527, allocations: 31.98 kB / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4527, allocations: 3.938 kB / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.4529, allocations: 125.5 kB / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.453, allocations: 8 kB / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.453, allocations: 0 / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.453, allocations: 0 / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.4531, allocations: 15.98 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4531, allocations: 3.953 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.4532, allocations: 8 kB / 1.376 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.4532, allocations: 4 kB / 1.376 GB, free: 5.191 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 9.508e-05/0.4533, allocations: 121.9 kB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.4533, allocations: 7.906 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.4534, allocations: 12.31 kB / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4534, allocations: 4 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4534, allocations: 0 / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4534, allocations: 3.953 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.4539, allocations: 378.5 kB / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4539, allocations: 0 / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.4539, allocations: 7.984 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4539, allocations: 4 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4539, allocations: 11.94 kB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.454, allocations: 3.953 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.454, allocations: 3.938 kB / 1.376 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.4543, allocations: 215.4 kB / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.4543, allocations: 81.02 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4543, allocations: 4 kB / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.4544, allocations: 8 kB / 1.377 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.4545, allocations: 7.938 kB / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4545, allocations: 4 kB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.395e-05/0.4546, allocations: 103.4 kB / 1.377 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4546, allocations: 0 / 1.377 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003271/0.4549, allocations: 51.97 kB / 1.377 GB, free: 4.078 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0008214/0.4558, allocations: 0.8166 MB / 1.378 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.456, allocations: 79.89 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.456, allocations: 4.125 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.4561, allocations: 35.98 kB / 1.378 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.4563, allocations: 16.2 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.4571, allocations: 0.7341 MB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.4574, allocations: 0.6887 MB / 1.379 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.236e-05/0.4574, allocations: 16.16 kB / 1.379 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.4575, allocations: 15.44 kB / 1.379 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/0.4575, allocations: 4 kB / 1.379 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.4715, allocations: 2.495 MB / 1.382 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.4717, allocations: 230.6 kB / 1.382 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.953, allocations: 3.375 kB / 1.382 GB, free: 15.01 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat does not exist to compare? outputFormat=mat