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 2.839/2.839, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.00151/0.00151, allocations: 182.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.28/2.28, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001146/0.001146, allocations: 108.2 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.000489, allocations: 11.23 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2122, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001753/0.214, allocations: 1.214 MB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2155, allocations: 0.7426 MB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.2156, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.2156, allocations: 7.922 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2157, allocations: 15.97 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.2163, allocations: 107.7 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2164, allocations: 59.86 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.2165, allocations: 8 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2166, allocations: 39.84 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.2167, allocations: 43.81 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2168, allocations: 4 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.217, allocations: 67.88 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.217, allocations: 19.91 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.2171, allocations: 45.64 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2173, allocations: 108 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2173, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2173, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2173, allocations: 0 / 0.9806 GB, free: 25.9 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.0007927/0.2181, allocations: 488.1 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2182, allocations: 12.03 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.2182, allocations: 11.89 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2183, allocations: 174.9 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.2184, allocations: 8 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.2184, allocations: 4 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.2187, allocations: 81.58 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2187, allocations: 0 / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.2187, allocations: 4 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2187, allocations: 4 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.219, allocations: 55.95 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.2196, allocations: 340.6 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2199, allocations: 82.67 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.22, allocations: 4 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.2203, allocations: 103.4 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.2203, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006025/0.2209, allocations: 185.5 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.221, allocations: 55.36 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2211, allocations: 132.4 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2211, allocations: 29.7 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.2212, allocations: 96.03 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.2212, allocations: 27.8 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.2212, allocations: 12 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.2213, allocations: 318.8 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2214, allocations: 31.98 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2216, allocations: 73.06 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2218, allocations: 39.97 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2218, allocations: 4 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000365/0.2222, allocations: 137.4 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2222, allocations: 5.875 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2222, allocations: 12.03 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2223, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.2224, allocations: 23.92 kB / 0.983 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2225, allocations: 11.94 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.2226, allocations: 11.94 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2227, allocations: 12 kB / 0.9831 GB, free: 23.11 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 0.0001014/0.2228, allocations: 119.9 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.2228, allocations: 15.81 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.2233, allocations: 170.2 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2233, allocations: 4 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2233, allocations: 0 / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-06/0.2234, allocations: 3.953 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.2241, allocations: 450.4 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2241, allocations: 0 / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2243, allocations: 19.98 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2243, allocations: 0 / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.2243, allocations: 3.953 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2243, allocations: 0 / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2243, allocations: 0 / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.2248, allocations: 253.4 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.2248, allocations: 88.95 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.2249, allocations: 0 / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2251, allocations: 19.94 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.2251, allocations: 11.98 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.2252, allocations: 7.984 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.2252, allocations: 100.5 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2252, allocations: 4 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004102/0.2257, allocations: 40 kB / 0.9843 GB, free: 21.73 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 (13): * Single equations (assignments): 10 * 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.0004187/0.2261, allocations: 164.7 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.2265, allocations: 99.89 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2265, allocations: 0 / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.2267, allocations: 57.16 kB / 0.9846 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.227, allocations: 20.17 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.2275, allocations: 243.3 kB / 0.9849 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2277, allocations: 0.7082 MB / 0.9856 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.685e-05/0.2278, allocations: 8.422 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.2279, allocations: 15.44 kB / 0.9856 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2279, allocations: 0 / 0.9856 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.006041/0.2339, allocations: 1.769 MB / 0.9873 GB, free: 18.61 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)