Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.00128/0.00128, allocations: 176.8 kB / 366.7 MB, free: 1.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0009838/0.0009837, allocations: 93.39 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.265e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7929, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/1.005, allocations: 140.2 MB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.005, allocations: 79.95 kB / 1.11 GB, free: 9.793 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.009453/1.014, allocations: 2.952 MB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/1.015, allocations: 1.469 kB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.015, allocations: 0 / 1.113 GB, free: 6.871 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.0005075/1.015, allocations: 422.5 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.015, allocations: 16.02 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/1.015, allocations: 7.906 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.015, allocations: 167 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.015, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.015, allocations: 10.8 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.154e-05/1.015, allocations: 25.25 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/1.016, allocations: 53.67 kB / 1.114 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/1.016, allocations: 0 / 1.114 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.016, allocations: 5.266 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/1.016, allocations: 4 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/1.016, allocations: 290.1 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/1.016, allocations: 42.5 kB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/1.016, allocations: 25.55 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/1.016, allocations: 0 / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/1.017, allocations: 75.3 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/1.017, allocations: 1.781 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002594/1.017, allocations: 88.8 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.017, allocations: 55.41 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.017, allocations: 119.5 kB / 1.115 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.017, allocations: 26.58 kB / 1.115 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/1.017, allocations: 89.14 kB / 1.115 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/1.017, allocations: 19.73 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.017, allocations: 0 / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.017, allocations: 323.5 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/1.017, allocations: 16.47 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/1.017, allocations: 39.44 kB / 1.115 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.48e-05/1.017, allocations: 29.42 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.017, allocations: 0 / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001637/1.018, allocations: 88.03 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.018, allocations: 9.25 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.018, allocations: 0 / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.018, allocations: 3.984 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.018, allocations: 15.06 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/1.018, allocations: 4.062 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/1.018, allocations: 9.203 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.018, allocations: 8 kB / 1.115 GB, free: 4.637 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.281e-05/1.018, allocations: 112.9 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001596/1.018, allocations: 93.58 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/1.018, allocations: 0 / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/1.018, allocations: 12.62 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.018, allocations: 0 / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.018, allocations: 7.984 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.018, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/1.019, allocations: 338.9 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.019, allocations: 4 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/1.019, allocations: 7.984 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.019, allocations: 0 / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.019, allocations: 2.906 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.019, allocations: 0 / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.019, allocations: 3.938 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/1.019, allocations: 192.8 kB / 1.116 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/1.019, allocations: 85.02 kB / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/1.019, allocations: 3.984 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/1.019, allocations: 4 kB / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.019, allocations: 7.984 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/1.019, allocations: 4 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.285e-05/1.019, allocations: 100.9 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.019, allocations: 0 / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000291/1.02, allocations: 55.91 kB / 1.116 GB, free: 3.539 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.0007711/1.02, allocations: 0.7977 MB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001384/1.02, allocations: 47.94 kB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.02, allocations: 0 / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/1.021, allocations: 24 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/1.021, allocations: 14.05 kB / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/1.021, allocations: 150 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.021, allocations: 0.6933 MB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.089e-05/1.021, allocations: 5.438 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/1.022, allocations: 19.42 kB / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.022, allocations: 4 kB / 1.118 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/1.044, allocations: 2.177 MB / 1.12 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.044, allocations: 194.6 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.631, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)