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.299/2.299, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001013/0.001013, allocations: 187.8 kB / 487.4 MB, free: 5.008 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.626/1.626, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 102.2 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.988e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9512/1.236, allocations: 150.5 MB / 1.353 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.236, allocations: 81.08 kB / 1.353 GB, free: 18.11 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.009753/1.246, allocations: 2.991 MB / 1.356 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.185e-06/1.246, allocations: 0 / 1.356 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.727e-06/1.246, allocations: 3.844 kB / 1.356 GB, free: 33.66 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.0005887/1.247, allocations: 427.4 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.247, allocations: 8.438 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/1.247, allocations: 8.547 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/1.247, allocations: 167.4 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/1.247, allocations: 4.547 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/1.247, allocations: 3.969 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.006e-05/1.247, allocations: 22.44 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.247, allocations: 56.92 kB / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.247, allocations: 4.547 kB / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.247, allocations: 3.938 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.247, allocations: 7.828 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/1.248, allocations: 292.8 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/1.248, allocations: 44.47 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/1.248, allocations: 23.45 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/1.248, allocations: 0.6562 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/1.248, allocations: 67.88 kB / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/1.248, allocations: 0 / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000269/1.248, allocations: 96.16 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.248, allocations: 63.83 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/1.249, allocations: 110.6 kB / 1.357 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.249, allocations: 30.08 kB / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/1.249, allocations: 93.09 kB / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/1.249, allocations: 12.38 kB / 1.357 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.249, allocations: 0 / 1.357 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.249, allocations: 324.5 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/1.249, allocations: 18.36 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/1.249, allocations: 39 kB / 1.358 GB, free: 32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/1.249, allocations: 21.5 kB / 1.358 GB, free: 32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.249, allocations: 0 / 1.358 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001364/1.249, allocations: 89.78 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.249, allocations: 7.812 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.249, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.249, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/1.249, allocations: 26.08 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/1.249, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/1.249, allocations: 5.203 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/1.249, allocations: 8.578 kB / 1.358 GB, free: 31.95 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 7.715e-05/1.249, allocations: 114.4 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001401/1.25, allocations: 94.83 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/1.25, allocations: 3.844 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/1.25, allocations: 13.41 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.25, allocations: 0 / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.25, allocations: 7.906 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.25, allocations: 4.609 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/1.25, allocations: 330.8 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.25, allocations: 0 / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/1.25, allocations: 9.406 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.25, allocations: 0.7969 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.25, allocations: 4.141 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.25, allocations: 4 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.25, allocations: 4.469 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.25, allocations: 191.7 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/1.25, allocations: 81.81 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.25, allocations: 1.453 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/1.25, allocations: 5.062 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/1.25, allocations: 13.91 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.251, allocations: 10.09 kB / 1.359 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.538e-05/1.251, allocations: 87.59 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.251, allocations: 0 / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003327/1.251, allocations: 52.77 kB / 1.359 GB, free: 31.19 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.0007532/1.252, allocations: 0.7891 MB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001374/1.252, allocations: 55.59 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.252, allocations: 0 / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/1.252, allocations: 33.61 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.252, allocations: 5.906 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/1.253, allocations: 159.8 kB / 1.36 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/1.253, allocations: 0.6891 MB / 1.361 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.615e-05/1.253, allocations: 4.031 kB / 1.361 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/1.253, allocations: 20.08 kB / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 1.112e-06/1.253, allocations: 0 / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/1.275, allocations: 2.192 MB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.275, allocations: 188.9 kB / 1.363 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.809, allocations: 0 / 1.363 GB, free: 29.3 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