Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.851/2.851, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 186.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.356/2.356, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 94.36 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007593/0.0007597, allocations: 14.97 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2257, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001717/0.2275, allocations: 1.187 MB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.229, allocations: 0.7114 MB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.2291, allocations: 4 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.2291, allocations: 7.922 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.2292, allocations: 11.97 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.2298, allocations: 95.7 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2299, allocations: 43.94 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.23, allocations: 7.984 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.2301, allocations: 31.91 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.2302, allocations: 35.83 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2303, allocations: 4 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2305, allocations: 71.88 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.2305, allocations: 15.91 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.2306, allocations: 37.7 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2308, allocations: 100 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2308, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2308, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2308, allocations: 4 kB / 0.9806 GB, free: 25.91 MB / 0.6198 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.0006318/0.2314, allocations: 400.8 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2315, allocations: 8.031 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.2316, allocations: 34.56 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.2316, allocations: 15.8 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2317, allocations: 182.9 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.2318, allocations: 7.984 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.2318, allocations: 4 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.232, allocations: 69.66 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2321, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2321, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.028e-06/0.2321, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.2323, allocations: 51.92 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.2331, allocations: 320.7 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2334, allocations: 46.56 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2334, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.2337, allocations: 79.48 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.2337, allocations: 4 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005805/0.2343, allocations: 153.6 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2343, allocations: 55.41 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.2344, allocations: 125.7 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2345, allocations: 29.7 kB / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2345, allocations: 100.2 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2345, allocations: 11.81 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.2346, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.2346, allocations: 322.8 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2348, allocations: 27.98 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2349, allocations: 50.56 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2351, allocations: 35.92 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2351, allocations: 0 / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003576/0.2355, allocations: 121.5 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2355, allocations: 15.94 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2355, allocations: 0 / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2355, allocations: 3.953 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2357, allocations: 15.98 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2357, allocations: 400 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2358, allocations: 4 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2359, allocations: 4 kB / 0.9828 GB, free: 23.41 MB / 0.6198 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,$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 9.768e-05/0.236, allocations: 129.8 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.236, allocations: 11.84 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.236, allocations: 4.375 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.236, allocations: 4 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2361, allocations: 3.953 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2361, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.2367, allocations: 386.5 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2367, allocations: 0 / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.2367, allocations: 15.92 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2368, allocations: 4 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.2368, allocations: 3.953 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2368, allocations: 3.938 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2368, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.2372, allocations: 219.4 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.2373, allocations: 81.02 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2373, allocations: 4 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2374, allocations: 7.953 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2375, allocations: 3.984 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.2375, allocations: 4 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.2376, allocations: 99.27 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2376, allocations: 0 / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004111/0.238, allocations: 39.98 kB / 0.9838 GB, free: 22.3 MB / 0.6198 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 (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.0008933/0.2389, allocations: 0.803 MB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.2393, allocations: 83.88 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2393, allocations: 3.938 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2395, allocations: 40.11 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.2397, allocations: 7.938 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.2405, allocations: 0.7224 MB / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2407, allocations: 0.6887 MB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.2408, allocations: 8.734 kB / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.2409, allocations: 23.42 kB / 0.9861 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of SimCode: time 9.51e-07/0.2409, allocations: 0 / 0.9861 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.2632, allocations: 2.329 MB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.2635, allocations: 250.1 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/2.828, allocations: 0 / 0.9886 GB, free: 17.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)