Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 180.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 100.3 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.905e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2447, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8014/1.046, allocations: 133.6 MB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.047, allocations: 78.45 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009422/1.056, allocations: 2.98 MB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.814e-06/1.056, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.056, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 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.0005208/1.057, allocations: 415.3 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.057, allocations: 16.03 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/1.057, allocations: 34.38 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/1.057, allocations: 4 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/1.057, allocations: 174.9 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.057, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/1.057, allocations: 7.25 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/1.057, allocations: 64.53 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.057, allocations: 3.938 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.057, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.057, allocations: 4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/1.057, allocations: 22.56 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/1.058, allocations: 315.3 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/1.058, allocations: 40.02 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/1.058, allocations: 26.36 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/1.058, allocations: 7.938 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/1.058, allocations: 63.45 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.058, allocations: 0 / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002625/1.058, allocations: 110.2 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/1.059, allocations: 51.41 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.059, allocations: 111.9 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/1.059, allocations: 33.27 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/1.059, allocations: 99.72 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/1.059, allocations: 11.22 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/1.059, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.059, allocations: 322.6 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/1.059, allocations: 23.06 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/1.059, allocations: 37.95 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/1.059, allocations: 35.36 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.059, allocations: 0 / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001703/1.059, allocations: 100.3 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.059, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.059, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.059, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.059, allocations: 15.67 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.059, allocations: 3.953 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/1.06, allocations: 15.97 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/1.06, allocations: 7.938 kB / 1.027 GB, free: 12.26 MB / 0.6511 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.822e-05/1.06, allocations: 104.5 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/1.06, allocations: 7.984 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/1.06, allocations: 12.38 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.06, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.06, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.06, allocations: 3.953 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/1.06, allocations: 371.6 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.06, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/1.06, allocations: 8 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.06, allocations: 0 / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.06, allocations: 7.984 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.06, allocations: 3.953 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.06, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/1.061, allocations: 191 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/1.061, allocations: 85 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.061, allocations: 7.984 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/1.061, allocations: 7.938 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/1.061, allocations: 11.88 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.061, allocations: 4 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.719e-05/1.061, allocations: 93.52 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 4 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003225/1.061, allocations: 51.17 kB / 1.028 GB, free: 11.28 MB / 0.6511 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.0007639/1.062, allocations: 0.7898 MB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001603/1.062, allocations: 72.02 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.062, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/1.062, allocations: 26.62 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/1.062, allocations: 15.38 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/1.063, allocations: 150.2 kB / 1.029 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/1.063, allocations: 0.6887 MB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.061e-05/1.063, allocations: 8.312 kB / 1.03 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/1.063, allocations: 22.36 kB / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.063, allocations: 0 / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/1.078, allocations: 2.525 MB / 1.033 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.078, allocations: 220.6 kB / 1.033 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.724, allocations: 0 / 1.033 GB, free: 6.883 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)