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.001433/0.001433, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001847/0.001847, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.354/1.354, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.619/1.619, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001663/0.001663, allocations: 62.38 kB / 0.6711 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2443, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003432/0.2478, allocations: 1.546 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2492, allocations: 0.7527 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.2492, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.2493, allocations: 3.984 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.2494, allocations: 11.86 kB / 0.7852 GB, free: 11.44 MB / 0.6075 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 NFTyping.typeClassSections: time 0.0006218/0.25, allocations: 115.8 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2502, allocations: 67.84 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.2503, allocations: 11.98 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2504, allocations: 39.84 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.2505, allocations: 39.83 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2505, allocations: 4 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.2507, allocations: 95.91 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.2508, allocations: 23.92 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.2508, allocations: 35.84 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.2511, allocations: 139.9 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2511, allocations: 7.938 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2511, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.2511, allocations: 0 / 0.7858 GB, free: 10.87 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.0006317/0.2517, allocations: 405 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2518, allocations: 16.02 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2518, allocations: 30.75 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.2519, allocations: 16.84 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.252, allocations: 180.1 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2521, allocations: 4.375 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.2521, allocations: 8.359 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2523, allocations: 73.77 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2523, allocations: 0 / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2523, allocations: 3.938 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2523, allocations: 4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2525, allocations: 43.91 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.2531, allocations: 316.7 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2532, allocations: 46.56 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.2533, allocations: 32.97 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2534, allocations: 4 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.2536, allocations: 79.31 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.2536, allocations: 0 / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004/0.254, allocations: 129.6 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.254, allocations: 55.39 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.2542, allocations: 125.8 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2542, allocations: 29.7 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.2542, allocations: 100.1 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2543, allocations: 15.81 kB / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.2543, allocations: 29.7 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2544, allocations: 314.8 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.2545, allocations: 35.91 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.575e-05/0.2546, allocations: 50.5 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2548, allocations: 70.55 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2548, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.2551, allocations: 117.5 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2551, allocations: 8 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2551, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2551, allocations: 3.938 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2552, allocations: 11.98 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2552, allocations: 4 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.2553, allocations: 8 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2553, allocations: 4 kB / 0.7881 GB, free: 8.281 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.000107/0.2555, allocations: 131 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2555, allocations: 7.891 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.2555, allocations: 16.36 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2555, allocations: 0 / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2555, allocations: 0 / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2555, allocations: 0 / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.256, allocations: 378.4 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.256, allocations: 0 / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.2561, allocations: 8 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2561, allocations: 0 / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2561, allocations: 7.984 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2561, allocations: 3.938 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2561, allocations: 0 / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.2564, allocations: 211.8 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.2565, allocations: 89 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2565, allocations: 0 / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.2566, allocations: 11.94 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2567, allocations: 11.98 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2567, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.2568, allocations: 91.27 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.366e-06/0.2568, allocations: 4 kB / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003712/0.2572, allocations: 39.94 kB / 0.789 GB, free: 7.191 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.001037/0.2582, allocations: 0.8052 MB / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.2585, allocations: 75.89 kB / 0.7899 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2585, allocations: 4.125 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.2587, allocations: 31.98 kB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2589, allocations: 11.94 kB / 0.7899 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2608, allocations: 1.509 MB / 0.7914 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.2612, allocations: 0.6906 MB / 0.7921 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.2612, allocations: 4 kB / 0.7921 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.2613, allocations: 27.42 kB / 0.7921 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2613, allocations: 0 / 0.7921 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.2754, allocations: 2.491 MB / 0.7945 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/0.2758, allocations: 264.8 kB / 0.7948 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.051, allocations: 3.5 kB / 0.7948 GB, free: 1.234 MB / 0.6075 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)