Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 172.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000973/0.0009729, allocations: 90.89 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.185e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8101, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/1.028, allocations: 140.2 MB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.028, allocations: 84.47 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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.009578/1.038, allocations: 2.952 MB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/1.038, allocations: 0 / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.038, allocations: 0.9062 kB / 1.113 GB, free: 6.852 MB / 0.7136 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.0005683/1.039, allocations: 425.4 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.039, allocations: 8.031 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/1.039, allocations: 9.094 kB / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.039, allocations: 172.4 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/1.039, allocations: 1.312 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/1.039, allocations: 5.469 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.362e-05/1.039, allocations: 20 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/1.039, allocations: 64.78 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/1.039, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/1.039, allocations: 0.9062 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.039, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/1.04, allocations: 288.6 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/1.04, allocations: 42.52 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/1.04, allocations: 22.05 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.04, allocations: 4 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/1.04, allocations: 76.52 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.04, allocations: 1.188 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002854/1.041, allocations: 92.58 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.041, allocations: 51.41 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/1.041, allocations: 120.2 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.041, allocations: 30.14 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/1.041, allocations: 89.02 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/1.041, allocations: 23.73 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.041, allocations: 1.344 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.041, allocations: 318.8 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/1.041, allocations: 21.17 kB / 1.115 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/1.041, allocations: 35.34 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/1.041, allocations: 27.98 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.041, allocations: 0 / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001619/1.041, allocations: 93.5 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.041, allocations: 4 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.041, allocations: 0 / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.041, allocations: 4.875 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.042, allocations: 12 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.042, allocations: 3.984 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/1.042, allocations: 12.06 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/1.042, allocations: 0 / 1.115 GB, free: 4.621 MB / 0.7136 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.688e-05/1.042, allocations: 112.9 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001637/1.042, allocations: 93.58 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/1.042, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/1.042, allocations: 13.55 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.042, allocations: 0 / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.042, allocations: 8 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.042, allocations: 0 / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/1.042, allocations: 340.2 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.042, allocations: 0 / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/1.042, allocations: 7.984 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.043, allocations: 2.25 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/1.043, allocations: 1.219 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.043, allocations: 7.938 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.043, allocations: 0 / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/1.043, allocations: 195.5 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/1.043, allocations: 85 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/1.043, allocations: 7.938 kB / 1.116 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/1.043, allocations: 4 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/1.043, allocations: 7.984 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.043, allocations: 4 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.455e-05/1.043, allocations: 96.53 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 4 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003021/1.043, allocations: 43.94 kB / 1.116 GB, free: 3.523 MB / 0.7136 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.0008143/1.044, allocations: 0.7989 MB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001455/1.044, allocations: 47.94 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.044, allocations: 4 kB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/1.044, allocations: 31.92 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/1.045, allocations: 5.375 kB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/1.045, allocations: 148.5 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/1.046, allocations: 0.6933 MB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.059e-05/1.046, allocations: 5.438 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/1.046, allocations: 23.42 kB / 1.118 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/1.046, allocations: 3.469 kB / 1.118 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/1.067, allocations: 2.185 MB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.067, allocations: 184.2 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.669, allocations: 0.75 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)