Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.754/1.754, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001305/0.001305, allocations: 169.8 kB / 371.2 MB, free: 10.83 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.528/1.528, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0009334/0.0009335, allocations: 110.2 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 11.47 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001362/0.189, allocations: 1.253 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1901, allocations: 0.7463 MB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.1902, allocations: 0 / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.1902, allocations: 3.938 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.1903, allocations: 19.86 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1908, allocations: 95.77 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.1909, allocations: 95.69 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.191, allocations: 15.98 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.191, allocations: 31.86 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.1911, allocations: 43.81 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1911, allocations: 8 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1913, allocations: 91.84 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.1913, allocations: 15.92 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1914, allocations: 41.64 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1915, allocations: 115.9 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1915, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1915, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1915, allocations: 0 / 0.9812 GB, free: 25.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006103/0.1922, allocations: 0.4924 MB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1922, allocations: 8.031 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.1922, allocations: 8.844 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.1923, allocations: 184.1 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1924, allocations: 4.375 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1924, allocations: 8.375 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1926, allocations: 97.81 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1926, allocations: 4 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1926, allocations: 0 / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1926, allocations: 0 / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1927, allocations: 51.97 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1932, allocations: 336.8 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1934, allocations: 82.7 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.1935, allocations: 44.83 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1935, allocations: 0 / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1937, allocations: 107.2 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.1937, allocations: 0 / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003745/0.1941, allocations: 177.8 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.1942, allocations: 59.38 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.1942, allocations: 151.8 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1943, allocations: 29.7 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.1943, allocations: 100.1 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.1943, allocations: 23.62 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.1943, allocations: 3.938 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.1944, allocations: 322.8 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.1945, allocations: 31.98 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.1945, allocations: 73.12 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1947, allocations: 121 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1947, allocations: 0 / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002027/0.1949, allocations: 133.4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1949, allocations: 4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.195, allocations: 4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.195, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1951, allocations: 24.08 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1951, allocations: 7.938 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.1952, allocations: 15.92 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1952, allocations: 8 kB / 0.9838 GB, free: 22.64 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.938e-05/0.1953, allocations: 128.4 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1953, allocations: 11.81 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.1956, allocations: 178.3 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1956, allocations: 0 / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1956, allocations: 0 / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1957, allocations: 0 / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1961, allocations: 479.8 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1961, allocations: 0 / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.1962, allocations: 23.92 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1962, allocations: 0 / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1963, allocations: 3.938 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1963, allocations: 4 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1963, allocations: 3.938 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1965, allocations: 247.4 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.1965, allocations: 89 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1966, allocations: 4 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1967, allocations: 12 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.1968, allocations: 15.91 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1968, allocations: 8 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.1968, allocations: 115.9 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1968, allocations: 3.938 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002882/0.1971, allocations: 40 kB / 0.9851 GB, free: 21.2 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002876/0.1974, allocations: 158.7 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1977, allocations: 101 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1977, allocations: 0 / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1978, allocations: 55.91 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1981, allocations: 19.59 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.1985, allocations: 271.2 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1986, allocations: 0.7082 MB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.554e-05/0.1986, allocations: 12.55 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.1987, allocations: 11.44 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1987, allocations: 0 / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.003725/0.2024, allocations: 1.824 MB / 0.9882 GB, free: 18.02 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)