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.581/1.581, allocations: 252 MB / 267 MB, free: 10.98 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.0009914/0.0009914, allocations: 183.9 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0009197/0.00092, allocations: 84.09 kB / 0.6822 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004576, allocations: 10.84 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001694/0.2762, allocations: 1.188 MB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2774, allocations: 0.7295 MB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.2774, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2775, allocations: 3.938 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.2775, allocations: 11.92 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.278, allocations: 95.7 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.2781, allocations: 67.78 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.2782, allocations: 19.97 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.2783, allocations: 23.92 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.2784, allocations: 35.83 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2784, allocations: 4 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.2786, allocations: 83.91 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.2786, allocations: 15.92 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.2786, allocations: 33.7 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2788, allocations: 99.83 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2788, allocations: 0 / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2788, allocations: 3.938 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2788, allocations: 0 / 0.9027 GB, free: 61.4 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.0005652/0.2794, allocations: 405.1 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2794, allocations: 12.03 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.2795, allocations: 34.56 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.2795, allocations: 15.84 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.2796, allocations: 174.9 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2797, allocations: 0 / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2797, allocations: 11.94 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2799, allocations: 69.66 kB / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2799, allocations: 0 / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2799, allocations: 0 / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2799, allocations: 0 / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.28, allocations: 51.89 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.2807, allocations: 316.8 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2808, allocations: 54.55 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.2809, allocations: 32.97 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2809, allocations: 12.06 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.2811, allocations: 83.31 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.572e-06/0.2812, allocations: 0 / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004031/0.2816, allocations: 149.4 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2816, allocations: 55.41 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.2817, allocations: 121.8 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2817, allocations: 25.7 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.2818, allocations: 96.23 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.2818, allocations: 19.81 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2818, allocations: 4 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.2819, allocations: 318.8 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.282, allocations: 27.92 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.282, allocations: 54.55 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.2821, allocations: 35.98 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2821, allocations: 0 / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001984/0.2823, allocations: 121.8 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2824, allocations: 8 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2824, allocations: 0 / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2824, allocations: 7.891 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.2825, allocations: 15.98 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.2825, allocations: 0 / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2826, allocations: 11.91 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2826, allocations: 4 kB / 0.9049 GB, free: 58.85 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,$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 7.546e-05/0.2827, allocations: 121.8 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2827, allocations: 4 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.2827, allocations: 12.36 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2827, allocations: 4 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2828, allocations: 3.953 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2828, allocations: 0 / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.2831, allocations: 386.4 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2831, allocations: 0 / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.2832, allocations: 8 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2832, allocations: 8 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2832, allocations: 7.938 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2832, allocations: 0 / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2832, allocations: 0 / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.2835, allocations: 211.4 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.2835, allocations: 81.05 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2835, allocations: 7.984 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.2836, allocations: 11.95 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2837, allocations: 3.984 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.2837, allocations: 7.938 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.2837, allocations: 95.27 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2837, allocations: 0 / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002701/0.284, allocations: 36 kB / 0.9059 GB, free: 57.76 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 (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.0006626/0.2847, allocations: 0.8145 MB / 0.9067 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.2849, allocations: 79.89 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2849, allocations: 128 / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.285, allocations: 40.45 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2853, allocations: 11.95 kB / 0.9068 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.2862, allocations: 0.6084 MB / 0.9074 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2863, allocations: 0.6887 MB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.2864, allocations: 8.172 kB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.2864, allocations: 23.42 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2864, allocations: 0 / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.2991, allocations: 2.342 MB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.2993, allocations: 258.8 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.95, allocations: 1.875 kB / 0.9106 GB, free: 52.91 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)