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.668/1.668, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.0009202/0.0009201, allocations: 181.9 kB / 371.8 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.332/1.332, allocations: 205.4 MB / 0.6305 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.0007588/0.0007588, allocations: 93.05 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 10.62 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001366/0.1772, allocations: 1.242 MB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.1782, allocations: 0.7502 MB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1783, allocations: 0 / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.1783, allocations: 3.938 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.1784, allocations: 19.84 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1788, allocations: 103.8 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.1789, allocations: 87.72 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.179, allocations: 15.92 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.1791, allocations: 39.84 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.1792, allocations: 43.83 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1792, allocations: 4 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1793, allocations: 91.84 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.1794, allocations: 19.91 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1794, allocations: 41.62 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1796, allocations: 112 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1796, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1796, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.1796, allocations: 0 / 0.9818 GB, free: 25.61 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.0005852/0.1802, allocations: 0.4924 MB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1802, allocations: 8.031 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.1803, allocations: 8.844 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.1804, allocations: 186 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1804, allocations: 4.359 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1804, allocations: 8.375 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1806, allocations: 93.89 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1806, allocations: 0 / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1806, allocations: 4 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1806, allocations: 0 / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1808, allocations: 51.97 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1812, allocations: 336.8 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1814, allocations: 82.7 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.1815, allocations: 44.83 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1816, allocations: 7.984 kB / 0.9831 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1818, allocations: 107.2 kB / 0.9832 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1818, allocations: 0 / 0.9832 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003615/0.1821, allocations: 177.5 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.1822, allocations: 59.41 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.1823, allocations: 148 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1823, allocations: 25.7 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.1823, allocations: 100.1 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1823, allocations: 23.62 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1823, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.1824, allocations: 326.8 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.1825, allocations: 31.92 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.1826, allocations: 79.52 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1827, allocations: 117 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1827, allocations: 3.938 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000214/0.183, allocations: 137.4 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.183, allocations: 4 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.183, allocations: 0 / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.183, allocations: 4.094 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1831, allocations: 23.98 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1831, allocations: 4 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.1832, allocations: 19.86 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1833, allocations: 4 kB / 0.9844 GB, free: 22.66 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.605e-05/0.1833, allocations: 129.8 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.1833, allocations: 11.81 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.1837, allocations: 174.3 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1837, allocations: 4 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1837, allocations: 0 / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.1837, allocations: 88.95 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1837, allocations: 0 / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.1838, allocations: 19.92 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1839, allocations: 11.98 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002984/0.1842, allocations: 245.6 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002648/0.1845, allocations: 335.9 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.553e-05/0.1846, allocations: 52.11 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.1846, allocations: 103.3 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Backend: time 3.91e-07/0.1846, allocations: 0 / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.1852, allocations: 210.6 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000415/0.1857, allocations: 0.6799 MB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.003784/0.1895, allocations: 1.769 MB / 0.9881 GB, free: 18.77 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)