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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004766/0.004766, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005098, allocations: 13.16 kB / 0.6744 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2471, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001746/0.2488, allocations: 1.208 MB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2502, allocations: 0.7529 MB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.2503, allocations: 0 / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.2503, allocations: 3.938 kB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.2504, allocations: 11.92 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.2509, allocations: 103.8 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.251, allocations: 67.84 kB / 0.7901 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.2512, allocations: 12 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.2513, allocations: 39.77 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.2513, allocations: 27.91 kB / 0.7902 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2514, allocations: 4 kB / 0.7902 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2515, allocations: 87.91 kB / 0.7902 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.2516, allocations: 19.91 kB / 0.7903 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.292e-05/0.2516, allocations: 53.56 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.2519, allocations: 143.8 kB / 0.7905 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2519, allocations: 0 / 0.7905 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2519, allocations: 0 / 0.7905 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2519, allocations: 4 kB / 0.7905 GB, free: 8.957 MB / 0.6075 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.0005846/0.2525, allocations: 401 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2526, allocations: 8.031 kB / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.2526, allocations: 38.75 kB / 0.7909 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2526, allocations: 12.78 kB / 0.7909 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2528, allocations: 176.2 kB / 0.7911 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2528, allocations: 4.359 kB / 0.7911 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.2528, allocations: 12.38 kB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.253, allocations: 77.7 kB / 0.7912 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.253, allocations: 0 / 0.7912 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2531, allocations: 4 kB / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2531, allocations: 0 / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2532, allocations: 39.97 kB / 0.7912 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.2538, allocations: 320.8 kB / 0.7915 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2539, allocations: 58.5 kB / 0.7916 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.254, allocations: 32.97 kB / 0.7916 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2541, allocations: 7.984 kB / 0.7916 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.2542, allocations: 75.38 kB / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2543, allocations: 0 / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004157/0.2547, allocations: 157.6 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2547, allocations: 55.34 kB / 0.7919 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2549, allocations: 117.8 kB / 0.792 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.2549, allocations: 25.7 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.255, allocations: 104 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.255, allocations: 15.81 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.255, allocations: 17.7 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2551, allocations: 322.8 kB / 0.7925 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.2552, allocations: 27.98 kB / 0.7925 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.2553, allocations: 58.92 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2555, allocations: 86.42 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2555, allocations: 0 / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.2558, allocations: 117.6 kB / 0.7927 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2558, allocations: 7.984 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2558, allocations: 4 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2558, allocations: 0 / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.2559, allocations: 8 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.2559, allocations: 4.391 kB / 0.7928 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.256, allocations: 15.89 kB / 0.7928 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.256, allocations: 4 kB / 0.7928 GB, free: 6.332 MB / 0.6075 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2562, allocations: 134.4 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.2562, allocations: 7.906 kB / 0.7929 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.2562, allocations: 8.359 kB / 0.7929 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2562, allocations: 0 / 0.7929 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2562, allocations: 4 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2562, allocations: 0 / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.2567, allocations: 386.5 kB / 0.7933 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2567, allocations: 3.938 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.2567, allocations: 7.938 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2568, allocations: 4 kB / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2568, allocations: 3.984 kB / 0.7933 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2568, allocations: 3.938 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2568, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2571, allocations: 219.4 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.2571, allocations: 81.02 kB / 0.7936 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2571, allocations: 7.984 kB / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.2572, allocations: 7.938 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2573, allocations: 3.984 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2573, allocations: 8 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.2574, allocations: 95.27 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2574, allocations: 0 / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002974/0.2577, allocations: 32 kB / 0.7937 GB, free: 5.234 MB / 0.6075 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008061/0.2585, allocations: 0.8095 MB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.2587, allocations: 75.91 kB / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.2587, allocations: 4 kB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.2589, allocations: 43.95 kB / 0.7947 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2591, allocations: 7.938 kB / 0.7947 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2607, allocations: 1.536 MB / 0.7962 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.261, allocations: 0.6887 MB / 0.7968 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.261, allocations: 4 kB / 0.7968 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.2611, allocations: 19.42 kB / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.2611, allocations: 4 kB / 0.7969 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.2742, allocations: 2.332 MB / 0.7991 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.2745, allocations: 261.8 kB / 0.7994 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.05, allocations: 0 / 0.7994 GB, free: 15.42 MB / 0.6231 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/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)