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.702/2.702, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001397/0.001397, allocations: 186.2 kB / 371 MB, free: 10.88 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.22/2.22, allocations: 205.4 MB / 0.6297 GB, free: 10.53 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.0009466/0.0009464, allocations: 94.03 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006698/0.0006701, allocations: 12 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2133, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001801/0.2151, allocations: 1.23 MB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2167, allocations: 0.7385 MB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.2168, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.2168, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2169, allocations: 11.88 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2175, allocations: 99.75 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2176, allocations: 91.69 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.2177, allocations: 4 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2179, allocations: 47.84 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.2179, allocations: 43.81 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.218, allocations: 4 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.2182, allocations: 87.91 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.2183, allocations: 11.92 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.2183, allocations: 41.64 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2185, allocations: 108 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2185, allocations: 4 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2185, allocations: 3.938 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.2186, allocations: 0 / 0.9808 GB, free: 25.82 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.0007659/0.2193, allocations: 488.2 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2194, allocations: 8.031 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.2194, allocations: 15.84 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2196, allocations: 174.9 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2196, allocations: 8 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.2196, allocations: 8 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.2199, allocations: 85.58 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2199, allocations: 0 / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.22, allocations: 3.984 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.22, allocations: 0 / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.2202, allocations: 51.97 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.2209, allocations: 344.6 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.2212, allocations: 86.66 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2214, allocations: 48.83 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2214, allocations: 0 / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.2217, allocations: 103.4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.2217, allocations: 0 / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006502/0.2224, allocations: 189.4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2224, allocations: 55.41 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2225, allocations: 132.1 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2226, allocations: 29.7 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.2226, allocations: 100 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2227, allocations: 27.64 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.2227, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.2228, allocations: 322.8 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2229, allocations: 31.98 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2231, allocations: 79.03 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2232, allocations: 39.98 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2232, allocations: 0 / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000365/0.2236, allocations: 141.4 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2236, allocations: 4 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.2237, allocations: 0 / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2237, allocations: 7.938 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2239, allocations: 23.97 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2239, allocations: 8 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2241, allocations: 19.92 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.868e-05/0.2241, allocations: 4 kB / 0.9833 GB, free: 22.98 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.000102/0.2242, allocations: 121.8 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.2242, allocations: 15.75 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.2247, allocations: 167.2 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2248, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2248, allocations: 7.953 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2248, allocations: 3.984 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.2256, allocations: 451.4 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2256, allocations: 0 / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.2257, allocations: 11.98 kB / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2257, allocations: 0 / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2258, allocations: 7.953 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2258, allocations: 0 / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2258, allocations: 144 / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.2263, allocations: 260.9 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.2263, allocations: 88.94 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.2264, allocations: 8 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2266, allocations: 11.95 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.2266, allocations: 15.97 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.2267, allocations: 4 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.2267, allocations: 95.27 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2268, allocations: 4 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004095/0.2272, allocations: 47.98 kB / 0.9846 GB, free: 21.59 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.0003951/0.2276, allocations: 155.8 kB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.228, allocations: 103.8 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.228, allocations: 0 / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.2282, allocations: 55.92 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.2286, allocations: 16.42 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.2292, allocations: 244.5 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2294, allocations: 0.6965 MB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.215e-05/0.2295, allocations: 16.42 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.2295, allocations: 11.44 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.103e-06/0.2295, allocations: 0 / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.006055/0.2356, allocations: 1.774 MB / 0.9876 GB, free: 18.48 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)