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.6/1.6, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 187.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008775/0.0008779, allocations: 90.33 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.4265, allocations: 133.7 MB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4268, allocations: 83.95 kB / 1.031 GB, free: 9.859 MB / 0.6823 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.00923/0.4361, allocations: 2.996 MB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4361, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.4361, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 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.0005204/0.4366, allocations: 428.7 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4367, allocations: 12.03 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.4367, allocations: 30.56 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4368, allocations: 11.91 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.4369, allocations: 182.8 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.4369, allocations: 8 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.437, allocations: 4 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.4371, allocations: 73.59 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.4372, allocations: 0 / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4372, allocations: 4 kB / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4372, allocations: 0 / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4373, allocations: 47.97 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.4379, allocations: 312.8 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4381, allocations: 50.56 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4381, allocations: 11.92 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4383, allocations: 71.52 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4383, allocations: 0 / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004108/0.4387, allocations: 153.5 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4387, allocations: 55.36 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.4388, allocations: 109 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4389, allocations: 25.7 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.4389, allocations: 96.31 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4389, allocations: 19.81 kB / 1.035 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.439, allocations: 4 kB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4391, allocations: 320.8 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.4392, allocations: 31.98 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.4393, allocations: 46.56 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.4394, allocations: 35.98 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4394, allocations: 0 / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002563/0.4396, allocations: 117.5 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4397, allocations: 4 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4397, allocations: 3.938 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4397, allocations: 4 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4398, allocations: 16.05 kB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4398, allocations: 3.938 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.4399, allocations: 15.95 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.4399, allocations: 0 / 1.036 GB, free: 4.352 MB / 0.6823 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 () * Number of clocked 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.434e-05/0.44, allocations: 124.8 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.44, allocations: 7.844 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.44, allocations: 12.38 kB / 1.036 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4401, allocations: 4 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4401, allocations: 0 / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4401, allocations: 0 / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.4406, allocations: 390.8 kB / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4406, allocations: 0 / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.4406, allocations: 7.984 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4407, allocations: 4 kB / 1.036 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4407, allocations: 4 kB / 1.036 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4407, allocations: 0 / 1.036 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4407, allocations: 7.953 kB / 1.036 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.441, allocations: 215.5 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.441, allocations: 93 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.441, allocations: 0 / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.4411, allocations: 11.94 kB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4412, allocations: 15.94 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4412, allocations: 0 / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.4413, allocations: 95.92 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4413, allocations: 0 / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003124/0.4416, allocations: 51.92 kB / 1.037 GB, free: 3.23 MB / 0.6823 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 () * Number of clocked 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.0008014/0.4424, allocations: 0.8078 MB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.4426, allocations: 83.89 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4426, allocations: 0 / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.4427, allocations: 35.92 kB / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.4429, allocations: 11.98 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.4437, allocations: 0.7381 MB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.444, allocations: 0.6887 MB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.444, allocations: 8.172 kB / 1.039 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.4441, allocations: 19.44 kB / 1.039 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of SimCode: time 2.01e-07/0.4441, allocations: 0 / 1.039 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.4561, allocations: 2.507 MB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.4564, allocations: 255 kB / 1.042 GB, free: 14.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.007, allocations: 1.719 kB / 1.042 GB, free: 14.06 MB / 0.698 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)