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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001079/0.001079, allocations: 193.5 kB / 16.14 MB, free: 6.715 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.249/1.249, allocations: 205.1 MB / 222 MB, free: 4.758 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.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.6 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.002319/0.002319, allocations: 66.95 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2057, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002303/0.208, allocations: 1.55 MB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2091, allocations: 0.7683 MB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.2092, allocations: 0 / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.2092, allocations: 0 / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.2093, allocations: 15.88 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.2097, allocations: 103.8 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.2098, allocations: 71.78 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.2098, allocations: 7.984 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.2099, allocations: 31.91 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.21, allocations: 35.84 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.21, allocations: 7.984 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2102, allocations: 91.86 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.2102, allocations: 15.97 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.2102, allocations: 27.86 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.2104, allocations: 139.9 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2104, allocations: 0 / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2104, allocations: 0 / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2105, allocations: 0 / 0.7856 GB, free: 10.99 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.0005289/0.211, allocations: 420.9 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.211, allocations: 12.03 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.2111, allocations: 38.75 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.2111, allocations: 12.78 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2112, allocations: 180.2 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2112, allocations: 384 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2113, allocations: 12.36 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2114, allocations: 69.78 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.2115, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2115, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2115, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2116, allocations: 43.91 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.2122, allocations: 316.7 kB / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2123, allocations: 42.56 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.2124, allocations: 40.97 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2124, allocations: 3.984 kB / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.2126, allocations: 79.33 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2126, allocations: 0 / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000361/0.2129, allocations: 137.7 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.213, allocations: 59.41 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.2131, allocations: 121.8 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.2131, allocations: 29.69 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.2132, allocations: 92.08 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.2132, allocations: 11.81 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.2132, allocations: 33.64 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2133, allocations: 326.8 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.2134, allocations: 23.98 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.2135, allocations: 50.94 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2137, allocations: 70.55 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2137, allocations: 0 / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.2139, allocations: 121.8 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2139, allocations: 4 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.214, allocations: 0 / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.214, allocations: 4 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.2141, allocations: 15.92 kB / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2141, allocations: 80 / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.2141, allocations: 8 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2142, allocations: 7.984 kB / 0.7879 GB, free: 8.391 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 8.387e-05/0.2143, allocations: 130.4 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.2143, allocations: 7.906 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.2143, allocations: 8.375 kB / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2143, allocations: 4 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2143, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2143, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.2147, allocations: 378.4 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2148, allocations: 3.938 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.2148, allocations: 11.98 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2148, allocations: 0 / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2148, allocations: 4 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2148, allocations: 3.938 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2148, allocations: 4 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.2151, allocations: 207.3 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2152, allocations: 85.02 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2152, allocations: 7.938 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.2153, allocations: 11.94 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.2153, allocations: 3.984 kB / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.2153, allocations: 4 kB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.2154, allocations: 95.42 kB / 0.7888 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2154, allocations: 0 / 0.7888 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002796/0.2157, allocations: 39.98 kB / 0.7888 GB, free: 7.301 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.0006858/0.2164, allocations: 0.7995 MB / 0.7896 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.2166, allocations: 79.94 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2166, allocations: 4 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.2167, allocations: 35.92 kB / 0.7897 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.2169, allocations: 11.92 kB / 0.7897 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2184, allocations: 1.496 MB / 0.7912 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2186, allocations: 0.6926 MB / 0.7919 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.2187, allocations: 15.92 kB / 0.7919 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.2187, allocations: 15.42 kB / 0.7919 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2187, allocations: 0 / 0.7919 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.2304, allocations: 2.431 MB / 0.7943 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.2306, allocations: 266.1 kB / 0.7945 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.947, allocations: 3.938 kB / 0.7945 GB, free: 1.391 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)