Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.421/1.421, allocations: 288.4 MB / 303.6 MB, free: 8.125 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.0009261/0.0009261, allocations: 184.9 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006994/0.0006994, allocations: 100.7 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 11.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1826, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002064/0.1848, allocations: 1.222 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1864, allocations: 0.7383 MB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.1865, allocations: 7.938 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.1866, allocations: 3.984 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1867, allocations: 11.86 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.1874, allocations: 103.8 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1876, allocations: 75.72 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1877, allocations: 11.98 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1878, allocations: 35.91 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.1879, allocations: 39.83 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.188, allocations: 4 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.1882, allocations: 83.86 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.1883, allocations: 19.91 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.1883, allocations: 61.55 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1886, allocations: 104 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1886, allocations: 0 / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.836e-06/0.1886, allocations: 3.984 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1886, allocations: 0 / 0.9826 GB, free: 24.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008125/0.1894, allocations: 462.7 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1895, allocations: 8.031 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.1896, allocations: 38.75 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1896, allocations: 12.83 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1897, allocations: 186.9 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.1898, allocations: 46.25 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1899, allocations: 4.375 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1901, allocations: 81.52 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1901, allocations: 4 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1901, allocations: 0 / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1901, allocations: 0 / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.1903, allocations: 55.91 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1908, allocations: 320.8 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1911, allocations: 70.55 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1912, allocations: 44.83 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1912, allocations: 0 / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.1915, allocations: 107.5 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1915, allocations: 4 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004638/0.1919, allocations: 165.5 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.192, allocations: 55.41 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.1921, allocations: 134 kB / 0.9844 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1921, allocations: 25.7 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.1922, allocations: 100.4 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1922, allocations: 23.66 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.1922, allocations: 4 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.1923, allocations: 330.7 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1924, allocations: 31.97 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1925, allocations: 77.06 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1927, allocations: 105.1 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1927, allocations: 4.375 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002768/0.193, allocations: 133.4 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.193, allocations: 4 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.193, allocations: 12.12 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1931, allocations: 7.922 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1932, allocations: 23.92 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1932, allocations: 4 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1933, allocations: 12.08 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1933, allocations: 4 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.082e-05/0.1934, allocations: 140 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.1934, allocations: 11.81 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1935, allocations: 12.7 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1935, allocations: 4 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1935, allocations: 0 / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1935, allocations: 0 / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.1941, allocations: 438.2 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1941, allocations: 0 / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.1941, allocations: 11.98 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1942, allocations: 0 / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1942, allocations: 7.984 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1942, allocations: 3.938 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1942, allocations: 0 / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.1945, allocations: 231.3 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.1945, allocations: 85 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1946, allocations: 8 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1947, allocations: 15.92 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.1947, allocations: 11.98 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1948, allocations: 8 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.1948, allocations: 96.81 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1948, allocations: 0 / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002942/0.1951, allocations: 43.98 kB / 0.9863 GB, free: 20.6 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0007053/0.1958, allocations: 0.8252 MB / 0.9871 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1961, allocations: 95.83 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1961, allocations: 0 / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1963, allocations: 51.91 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1966, allocations: 23.86 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1976, allocations: 0.6886 MB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1978, allocations: 0.6965 MB / 0.9886 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.405e-05/0.1978, allocations: 12.66 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.1979, allocations: 27.42 kB / 0.9887 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.1979, allocations: 0 / 0.9887 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/0.3944, allocations: 2.728 MB / 0.9913 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.3946, allocations: 251.3 kB / 0.9916 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.412, allocations: 4 kB / 0.9916 GB, free: 15.23 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)