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.418/1.418, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.001298/0.001298, allocations: 180.5 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205 MB / 0.576 GB, free: 20.94 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.0007129/0.0007128, allocations: 94.03 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 6.094 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001667/0.2036, allocations: 1.219 MB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2051, allocations: 0.7843 MB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.2052, allocations: 0 / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.2052, allocations: 3.984 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.2053, allocations: 15.88 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.2058, allocations: 99.77 kB / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2059, allocations: 71.78 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2061, allocations: 11.97 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.2062, allocations: 31.92 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.2062, allocations: 31.83 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2063, allocations: 4 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2064, allocations: 95.86 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2065, allocations: 11.97 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.2065, allocations: 31.8 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.2067, allocations: 131.7 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2068, allocations: 3.938 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2068, allocations: 0 / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2068, allocations: 0 / 0.8987 GB, free: 65.52 MB / 0.6042 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.0006157/0.2074, allocations: 405.1 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.2075, allocations: 12.03 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.2075, allocations: 38.69 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.2076, allocations: 16.83 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.2077, allocations: 172.3 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2077, allocations: 384 / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.2077, allocations: 8.375 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2079, allocations: 77.77 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2079, allocations: 0 / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2079, allocations: 4 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2079, allocations: 0 / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.2081, allocations: 47.91 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.2086, allocations: 324.6 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.2087, allocations: 54.53 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.2088, allocations: 36.97 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2088, allocations: 0 / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.209, allocations: 87.31 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.209, allocations: 3.938 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003448/0.2093, allocations: 145.7 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2094, allocations: 55.41 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.2094, allocations: 129.7 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2095, allocations: 25.7 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.2095, allocations: 92.14 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.2095, allocations: 15.8 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.2096, allocations: 17.72 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.2096, allocations: 322.8 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.2097, allocations: 35.98 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.2098, allocations: 50.5 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2099, allocations: 78.55 kB / 0.9008 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.21, allocations: 0 / 0.9008 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001971/0.2102, allocations: 117.5 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2102, allocations: 8 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2102, allocations: 0 / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2102, allocations: 4.062 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.2103, allocations: 23.92 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2103, allocations: 0 / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.2104, allocations: 7.938 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2104, allocations: 4 kB / 0.901 GB, free: 62.89 MB / 0.6042 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 6.776e-05/0.2105, allocations: 124.6 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2105, allocations: 7.906 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.2105, allocations: 12.38 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2105, allocations: 4 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2105, allocations: 0 / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2105, allocations: 0 / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.2109, allocations: 386.4 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2109, allocations: 0 / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.2109, allocations: 15.98 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2109, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.211, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.211, allocations: 7.875 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.211, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2112, allocations: 215.8 kB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.2112, allocations: 93.02 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2113, allocations: 0 / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.2113, allocations: 11.94 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2114, allocations: 7.984 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2114, allocations: 0 / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.2114, allocations: 95.27 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2114, allocations: 0 / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002527/0.2117, allocations: 43.92 kB / 0.902 GB, free: 61.79 MB / 0.6042 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.0005801/0.2123, allocations: 0.8154 MB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.2125, allocations: 75.94 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2125, allocations: 0 / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.2126, allocations: 39.92 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2128, allocations: 16.05 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.214, allocations: 1.499 MB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2141, allocations: 0.6926 MB / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.2142, allocations: 8 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.2142, allocations: 27.36 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2142, allocations: 0 / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.225, allocations: 2.339 MB / 0.9073 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.2252, allocations: 281.5 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.742, allocations: 2.25 kB / 0.9076 GB, free: 55.97 MB / 0.6042 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)