Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, 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.001041/0.001041, allocations: 172.9 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 1.777/1.777, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008919/0.000892, allocations: 103.7 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.815e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2436, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8066/1.05, allocations: 133.6 MB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.051, allocations: 87.73 kB / 1.022 GB, free: 1.082 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.009295/1.06, allocations: 2.965 MB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/1.06, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.567e-06/1.06, allocations: 0 / 1.025 GB, free: 14.54 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.0005953/1.061, allocations: 426.9 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.061, allocations: 11.97 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/1.061, allocations: 38.5 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/1.061, allocations: 4 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/1.061, allocations: 178.9 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/1.061, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/1.061, allocations: 15.67 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/1.061, allocations: 64.48 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.061, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/1.061, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.061, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/1.061, allocations: 25.5 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/1.062, allocations: 317.2 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/1.062, allocations: 41.88 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/1.062, allocations: 27.42 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/1.062, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/1.062, allocations: 70.83 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/1.062, allocations: 0 / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003279/1.063, allocations: 99.03 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/1.063, allocations: 62.97 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.063, allocations: 107.9 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/1.063, allocations: 29.7 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/1.063, allocations: 94.23 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/1.063, allocations: 18.39 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/1.063, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.063, allocations: 318.8 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/1.063, allocations: 19.75 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/1.063, allocations: 44.94 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/1.064, allocations: 24.36 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.064, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000191/1.064, allocations: 95.39 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.064, allocations: 5.406 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.064, allocations: 3.984 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.064, allocations: 8.062 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.064, allocations: 11.5 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.064, allocations: 8.047 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/1.064, allocations: 15.89 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/1.064, allocations: 3.984 kB / 1.027 GB, free: 12.3 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 0.0001235/1.064, allocations: 108.7 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/1.064, allocations: 4 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/1.064, allocations: 12.38 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.064, allocations: 4 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.064, allocations: 3.984 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.064, allocations: 3.953 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/1.065, allocations: 361.7 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.065, allocations: 3.984 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/1.065, allocations: 4 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.065, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.065, allocations: 7.938 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.065, allocations: 7.953 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.065, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/1.065, allocations: 192.7 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/1.065, allocations: 85.02 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/1.065, allocations: 3.938 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/1.065, allocations: 15.8 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/1.065, allocations: 3.953 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/1.066, allocations: 8 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.662e-05/1.066, allocations: 97.81 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.066, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003694/1.066, allocations: 51.75 kB / 1.028 GB, free: 11.32 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.001232/1.067, allocations: 0.7981 MB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001866/1.067, allocations: 52.3 kB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.067, allocations: 0 / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/1.068, allocations: 32.62 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/1.068, allocations: 13.08 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/1.068, allocations: 156.5 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/1.069, allocations: 0.6887 MB / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.552e-05/1.069, allocations: 8.719 kB / 1.03 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/1.069, allocations: 20.06 kB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.069, allocations: 0 / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/1.084, allocations: 2.526 MB / 1.033 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.084, allocations: 224.1 kB / 1.033 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.703, allocations: 6.031 kB / 1.033 GB, free: 6.91 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)