Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.62/2.62, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001347/0.001346, allocations: 175 kB / 371 MB, free: 10.88 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.256/2.256, allocations: 205.4 MB / 0.6297 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.0009589/0.0009588, allocations: 113 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004886, allocations: 14.53 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002674/0.2557, allocations: 1.183 MB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2575, allocations: 0.7113 MB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.2576, allocations: 0 / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2577, allocations: 7.922 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.2578, allocations: 11.92 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.2584, allocations: 95.77 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2585, allocations: 63.78 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.2586, allocations: 11.98 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.2587, allocations: 31.91 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.2588, allocations: 39.83 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2588, allocations: 4 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2591, allocations: 75.86 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.2591, allocations: 19.97 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.2592, allocations: 37.64 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2594, allocations: 100 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2594, allocations: 0 / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2594, allocations: 0 / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2594, allocations: 0 / 0.9808 GB, free: 25.86 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.0006394/0.2601, allocations: 410.7 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2601, allocations: 12.03 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.2602, allocations: 38.55 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.2603, allocations: 11.86 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.2604, allocations: 167 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.2604, allocations: 4 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.2604, allocations: 4 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.2607, allocations: 77.58 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2607, allocations: 3.938 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.2607, allocations: 4 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2607, allocations: 7.984 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.261, allocations: 39.98 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.2617, allocations: 324.7 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2619, allocations: 46.56 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.2621, allocations: 36.91 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2621, allocations: 4 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.2624, allocations: 79.38 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.407e-06/0.2624, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005716/0.263, allocations: 149.6 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.263, allocations: 59.41 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2632, allocations: 125.8 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2632, allocations: 29.7 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.2633, allocations: 92.27 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2633, allocations: 15.8 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.2633, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.2634, allocations: 318.8 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2635, allocations: 35.91 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2637, allocations: 50.56 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2638, allocations: 31.98 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2639, allocations: 0 / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003609/0.2642, allocations: 125.5 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2643, allocations: 8 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2643, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2643, allocations: 3.953 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2645, allocations: 19.92 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2645, allocations: 0 / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2646, allocations: 8.062 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2646, allocations: 7.984 kB / 0.983 GB, free: 23.32 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 0.0001015/0.2647, allocations: 121.8 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.2648, allocations: 11.91 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2648, allocations: 4.375 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2648, allocations: 4 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2648, allocations: 3.953 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2649, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.2654, allocations: 382.5 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2655, allocations: 0 / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.2655, allocations: 4 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2655, allocations: 7.984 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2656, allocations: 7.953 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2656, allocations: 0 / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2656, allocations: 7.938 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.266, allocations: 219.8 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.266, allocations: 89 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.2661, allocations: 0 / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2662, allocations: 7.953 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2663, allocations: 11.98 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2663, allocations: 3.938 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.2664, allocations: 95.92 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2664, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003887/0.2668, allocations: 32 kB / 0.984 GB, free: 22.23 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.0009331/0.2677, allocations: 0.8067 MB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.2681, allocations: 83.88 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2681, allocations: 0 / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.2683, allocations: 43.92 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2686, allocations: 7.891 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.27, allocations: 0.6084 MB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.2702, allocations: 0.6926 MB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.2702, allocations: 4.188 kB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.2703, allocations: 19.42 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.2703, allocations: 0 / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.2938, allocations: 2.351 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.2942, allocations: 258.5 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/2.964, allocations: 4 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)