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.0009562/0.0009564, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001042/0.001042, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.86/1.86, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005182/0.0005183, allocations: 13.03 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2866, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00181/0.2884, allocations: 1.199 MB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2898, allocations: 0.7076 MB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.2898, allocations: 0 / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2899, allocations: 3.938 kB / 0.7893 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.2899, allocations: 7.922 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.2904, allocations: 103.8 kB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2905, allocations: 63.78 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.2906, allocations: 7.984 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.2907, allocations: 35.84 kB / 0.7895 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.2908, allocations: 35.84 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2908, allocations: 4 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.291, allocations: 83.91 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.291, allocations: 23.91 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.2911, allocations: 29.7 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2913, allocations: 99.98 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2913, allocations: 0 / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2913, allocations: 0 / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2913, allocations: 4 kB / 0.7897 GB, free: 9.414 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.0006248/0.2919, allocations: 404.8 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.292, allocations: 8.031 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.292, allocations: 46.5 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.2921, allocations: 3.906 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.2922, allocations: 178.9 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2922, allocations: 4 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2923, allocations: 4 kB / 0.7904 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.2924, allocations: 69.66 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2925, allocations: 0 / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2925, allocations: 0 / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2925, allocations: 8 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2926, allocations: 43.91 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.2932, allocations: 320.7 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2934, allocations: 54.55 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.2935, allocations: 32.97 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.2935, allocations: 0 / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.2937, allocations: 87.31 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2937, allocations: 0 / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004298/0.2942, allocations: 149.6 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.2942, allocations: 55.41 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2944, allocations: 129.8 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2944, allocations: 25.7 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.2945, allocations: 92.27 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2945, allocations: 15.81 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.2945, allocations: 0 / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2947, allocations: 318.8 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.2948, allocations: 31.98 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2949, allocations: 58.48 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.295, allocations: 31.98 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.295, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002402/0.2953, allocations: 121.8 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2953, allocations: 7.984 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2953, allocations: 3.938 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/0.2954, allocations: 4 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.2955, allocations: 8 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2955, allocations: 8.016 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.2955, allocations: 16.05 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2956, allocations: 8 kB / 0.792 GB, free: 6.867 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,$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.0001183/0.2957, allocations: 125.6 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.2957, allocations: 7.906 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.2958, allocations: 12.36 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2958, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2958, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2958, allocations: 3.953 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.2963, allocations: 386.5 kB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2963, allocations: 0 / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.2963, allocations: 7.938 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2963, allocations: 0 / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.2964, allocations: 11.92 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2964, allocations: 3.953 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2964, allocations: 0 / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.2967, allocations: 215.4 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.2967, allocations: 81.02 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2968, allocations: 0 / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.2968, allocations: 7.984 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2969, allocations: 19.94 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2969, allocations: 7.984 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.297, allocations: 91.27 kB / 0.7929 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 0 / 0.7929 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003086/0.2973, allocations: 36 kB / 0.793 GB, free: 5.773 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 (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.0009325/0.2983, allocations: 0.807 MB / 0.7937 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.2985, allocations: 83.95 kB / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2985, allocations: 0 / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.2986, allocations: 35.97 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.2989, allocations: 10.39 kB / 0.7939 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3, allocations: 0.6116 MB / 0.7945 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3003, allocations: 0.6887 MB / 0.7951 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.3003, allocations: 4.188 kB / 0.7951 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.3004, allocations: 27.36 kB / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3004, allocations: 0 / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.3147, allocations: 2.33 MB / 0.7974 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.3149, allocations: 247.5 kB / 0.7977 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.281, allocations: 4 kB / 0.7977 GB, free: 0.9922 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/linux/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) Environment - environmentSimulation: