Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.459/1.459, 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.0009353/0.0009353, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.263/1.263, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0007181/0.0007182, allocations: 105 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 11.44 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1851, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001297/0.1865, allocations: 1.215 MB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.1874, allocations: 0.7461 MB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.1875, allocations: 0 / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.1875, allocations: 3.938 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.1876, allocations: 19.86 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.188, allocations: 91.77 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.1881, allocations: 71.78 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1882, allocations: 15.97 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.1883, allocations: 35.86 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.1883, allocations: 31.88 kB / 0.9824 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1884, allocations: 8 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1885, allocations: 83.88 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.1885, allocations: 19.89 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.1886, allocations: 57.56 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1887, allocations: 108 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1888, allocations: 0 / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1888, allocations: 0 / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1888, allocations: 0 / 0.9826 GB, free: 24.75 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.0005444/0.1893, allocations: 454.7 kB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1894, allocations: 8.031 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.1894, allocations: 30.75 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.1894, allocations: 8.844 kB / 0.9831 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.524e-05/0.1895, allocations: 184.2 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1896, allocations: 384 / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1896, allocations: 4.375 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1898, allocations: 89.7 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1898, allocations: 0 / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1898, allocations: 0 / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1898, allocations: 0 / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1899, allocations: 47.91 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.1904, allocations: 332.6 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1905, allocations: 62.55 kB / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.1906, allocations: 36.84 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1906, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.1908, allocations: 107.4 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.1908, allocations: 0 / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003392/0.1912, allocations: 161.5 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1912, allocations: 55.41 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.1913, allocations: 129.6 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1913, allocations: 29.7 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.1913, allocations: 92.28 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1913, allocations: 23.73 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1914, allocations: 4 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.1914, allocations: 326.8 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.1915, allocations: 31.98 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.1916, allocations: 65.14 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1917, allocations: 113 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1917, allocations: 0 / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002011/0.1919, allocations: 129.4 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1919, allocations: 8 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1919, allocations: 0 / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.192, allocations: 4.125 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1921, allocations: 20.36 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1921, allocations: 7.938 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1922, allocations: 19.83 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1922, allocations: 4 kB / 0.9851 GB, free: 21.94 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 6.889e-05/0.1923, allocations: 134.7 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.1923, allocations: 11.91 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1926, allocations: 153.9 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1926, allocations: 0 / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1926, allocations: 0 / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1926, allocations: 3.984 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1931, allocations: 438.4 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1931, allocations: 0 / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.1932, allocations: 15.98 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1932, allocations: 4 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1932, allocations: 0 / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1932, allocations: 3.938 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1932, allocations: 0 / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1934, allocations: 235.5 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.1935, allocations: 85.02 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1935, allocations: 4 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1936, allocations: 15.92 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1937, allocations: 11.92 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1937, allocations: 12 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.1937, allocations: 95.27 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1937, allocations: 0 / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002742/0.194, 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 (12): * Single equations (assignments): 9 * 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.0005819/0.1946, allocations: 0.8271 MB / 0.9871 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1948, allocations: 87.78 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1948, allocations: 8.25 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.1949, allocations: 47.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.00029/0.1952, allocations: 19.92 kB / 0.9873 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1963, allocations: 0.6645 MB / 0.9879 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1964, allocations: 0.6965 MB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.462e-05/0.1965, allocations: 8.438 kB / 0.9886 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.1965, allocations: 27.42 kB / 0.9886 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of SimCode: time 3.8e-07/0.1965, allocations: 4 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4688/0.6654, allocations: 2.723 MB / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.6657, allocations: 238.7 kB / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.465, allocations: 0 / 0.9915 GB, free: 15.27 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)