Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.5/2.5, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001185/0.001185, allocations: 168.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.806/1.806, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001091/0.001091, allocations: 91.33 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.182e-05/7.191e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.592, allocations: 151.2 MB / 1.36 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.593, allocations: 81.88 kB / 1.36 GB, free: 18.92 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.009905/1.603, allocations: 3.01 MB / 1.363 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/1.603, allocations: 0 / 1.363 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.603, allocations: 0 / 1.363 GB, free: 34.48 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.0005292/1.603, allocations: 425.4 kB / 1.364 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/1.603, allocations: 15.5 kB / 1.364 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/1.603, allocations: 34.86 kB / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/1.603, allocations: 11.73 kB / 1.364 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.604, allocations: 172.1 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/1.604, allocations: 7 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/1.604, allocations: 5.438 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/1.604, allocations: 62.67 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.604, allocations: 4 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/1.604, allocations: 5.953 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/1.604, allocations: 0 / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/1.604, allocations: 25.16 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/1.605, allocations: 308.9 kB / 1.364 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/1.605, allocations: 49.62 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/1.605, allocations: 25.33 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/1.605, allocations: 3 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/1.605, allocations: 69.45 kB / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.605, allocations: 0 / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000285/1.605, allocations: 105.8 kB / 1.364 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.605, allocations: 55.41 kB / 1.364 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/1.605, allocations: 113.5 kB / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/1.605, allocations: 32.55 kB / 1.365 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/1.606, allocations: 94.7 kB / 1.365 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.606, allocations: 13.52 kB / 1.365 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/1.606, allocations: 0 / 1.365 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/1.606, allocations: 321.3 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/1.606, allocations: 18.53 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/1.606, allocations: 44.41 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/1.606, allocations: 27.56 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.606, allocations: 0 / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001499/1.606, allocations: 100.1 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.606, allocations: 3.75 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.606, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.606, allocations: 3.844 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/1.606, allocations: 14.86 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.606, allocations: 7.891 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/1.606, allocations: 17.61 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.606, allocations: 3.844 kB / 1.365 GB, free: 32.69 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 (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 () * 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.595e-05/1.606, allocations: 110 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/1.606, allocations: 3.906 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/1.606, allocations: 15.55 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.606, allocations: 4 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.606, allocations: 0 / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.606, allocations: 7.891 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/1.607, allocations: 359.8 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.607, allocations: 2.094 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/1.607, allocations: 5.516 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.607, allocations: 3.812 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.607, allocations: 0 / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.607, allocations: 9.406 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.607, allocations: 4 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/1.607, allocations: 192.2 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/1.607, allocations: 84.86 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/1.607, allocations: 5.812 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/1.607, allocations: 5.484 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/1.607, allocations: 9.047 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.607, allocations: 1.781 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.902e-05/1.607, allocations: 97.28 kB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.607, allocations: 0 / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002911/1.608, allocations: 57.34 kB / 1.366 GB, free: 31.92 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0007688/1.608, allocations: 0.7948 MB / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001573/1.609, allocations: 64.06 kB / 1.367 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.609, allocations: 0 / 1.367 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.065e-05/1.609, allocations: 31.27 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/1.609, allocations: 12.56 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/1.609, allocations: 154.9 kB / 1.367 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/1.61, allocations: 0.693 MB / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.106e-05/1.61, allocations: 5.609 kB / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/1.61, allocations: 25.58 kB / 1.368 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.61, allocations: 0 / 1.368 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/1.626, allocations: 2.509 MB / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/1.627, allocations: 210.2 kB / 1.371 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.409, allocations: 0 / 1.371 GB, free: 29.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat does not exist to compare? outputFormat=mat