Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.584/1.584, allocations: 287.4 MB / 303.2 MB, free: 8.086 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.001001/0.001001, allocations: 176.1 kB / 371.8 MB, free: 10.64 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.287/1.287, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007278/0.0007278, allocations: 97 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 9.781 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001281/0.1627, allocations: 1.222 MB / 0.9805 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1638, allocations: 0.7385 MB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.1638, allocations: 0 / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.1639, allocations: 3.938 kB / 0.9812 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.164, allocations: 15.84 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.1644, allocations: 103.8 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.1645, allocations: 83.7 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.109e-05/0.1646, allocations: 16 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.1647, allocations: 43.89 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.1648, allocations: 35.84 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1648, allocations: 4 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1649, allocations: 83.84 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.165, allocations: 23.89 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.165, allocations: 37.7 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1652, allocations: 108 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1652, allocations: 3.938 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1652, allocations: 4 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1652, allocations: 3.938 kB / 0.9817 GB, free: 25.66 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.0005651/0.1658, allocations: 488.2 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1658, allocations: 8.031 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.1659, allocations: 8.844 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.166, allocations: 186.2 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.166, allocations: 12.38 kB / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.166, allocations: 8.375 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1662, allocations: 81.95 kB / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1662, allocations: 3.938 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1662, allocations: 4 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1662, allocations: 4 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1664, allocations: 51.95 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.1668, allocations: 328.8 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.167, allocations: 86.7 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.1671, allocations: 48.84 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1671, allocations: 4 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1673, allocations: 103.3 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1673, allocations: 0 / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003646/0.1677, allocations: 193.3 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1677, allocations: 51.41 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.1678, allocations: 130.1 kB / 0.9835 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1678, allocations: 29.7 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.1679, allocations: 92.12 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1679, allocations: 23.66 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1679, allocations: 8 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.168, allocations: 326.8 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.168, allocations: 31.98 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.1681, allocations: 69.83 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1683, allocations: 117 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1683, allocations: 0 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000209/0.1685, allocations: 145.4 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1685, allocations: 8 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1685, allocations: 0 / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1685, allocations: 4 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1687, allocations: 23.86 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1687, allocations: 3.984 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.1688, allocations: 15.94 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1688, allocations: 8 kB / 0.9843 GB, free: 22.74 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.413e-05/0.1689, allocations: 132 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1689, allocations: 11.91 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1692, allocations: 164.1 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1692, allocations: 0 / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1692, allocations: 0 / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.1692, allocations: 85.02 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1692, allocations: 11.92 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.1693, allocations: 15.94 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1694, allocations: 11.97 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002876/0.1697, allocations: 236.9 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002511/0.1699, allocations: 320.3 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.391e-05/0.17, allocations: 55.91 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.1701, allocations: 105.7 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of Backend: time 4.21e-07/0.1701, allocations: 0 / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.1707, allocations: 197.6 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003855/0.1711, allocations: 0.669 MB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.003468/0.1745, allocations: 1.722 MB / 0.9879 GB, free: 18.94 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)