Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.231/2.231, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 188.7 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.369/2.369, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009041, allocations: 92.23 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004745, allocations: 11.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1902, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001825/0.1921, allocations: 1.238 MB / 0.9007 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1936, allocations: 0.7647 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.1937, allocations: 0 / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.1937, allocations: 3.938 kB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1938, allocations: 19.86 kB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.1944, allocations: 103.8 kB / 0.9016 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1945, allocations: 91.64 kB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.1946, allocations: 7.984 kB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1947, allocations: 43.84 kB / 0.9017 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.1948, allocations: 43.81 kB / 0.9018 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1948, allocations: 8 kB / 0.9018 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1951, allocations: 87.84 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.1951, allocations: 11.98 kB / 0.9019 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1952, allocations: 37.64 kB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1954, allocations: 115.8 kB / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1954, allocations: 0 / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1954, allocations: 0 / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1954, allocations: 0 / 0.902 GB, free: 62.97 MB / 0.6042 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.0008208/0.1962, allocations: 0.4925 MB / 0.9025 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1963, allocations: 8.031 kB / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.1963, allocations: 12.75 kB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1965, allocations: 182.3 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.1965, allocations: 4.375 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1965, allocations: 8.375 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1968, allocations: 85.95 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1968, allocations: 4 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1968, allocations: 3.938 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1968, allocations: 0 / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.1971, allocations: 55.89 kB / 0.9028 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.1977, allocations: 340.6 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.198, allocations: 82.67 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1981, allocations: 36.94 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1982, allocations: 11.94 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.1985, allocations: 99.34 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.365e-06/0.1985, allocations: 0 / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005768/0.1991, allocations: 181.4 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1991, allocations: 55.41 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1992, allocations: 149.7 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1993, allocations: 29.7 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.1993, allocations: 96.08 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1994, allocations: 31.62 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.1994, allocations: 4 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.1995, allocations: 326.8 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1996, allocations: 31.98 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1997, allocations: 75.23 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1999, allocations: 35.97 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1999, allocations: 0 / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.2003, allocations: 149.3 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2003, allocations: 9.25 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2003, allocations: 0 / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2003, allocations: 4 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.2005, allocations: 19.92 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2006, allocations: 7.984 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.2007, allocations: 20.08 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.2008, allocations: 4 kB / 0.9046 GB, free: 60.11 MB / 0.6042 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 0.0001081/0.2009, allocations: 133.7 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.2009, allocations: 7.906 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.2014, allocations: 176.4 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2015, allocations: 8 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2015, allocations: 3.938 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.2015, allocations: 85 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.2016, allocations: 4 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2017, allocations: 19.92 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.2018, allocations: 7.984 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005091/0.2023, allocations: 240.8 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004366/0.2028, allocations: 324.8 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001618/0.2029, allocations: 55.97 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.203, allocations: 112.6 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of Backend: time 7.51e-07/0.203, allocations: 0 / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008807/0.2039, allocations: 191.3 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005909/0.2045, allocations: 0.6877 MB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.005829/0.2104, allocations: 1.777 MB / 0.9083 GB, free: 56.21 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)