Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.69/2.69, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.00137/0.00137, allocations: 182.5 kB / 371 MB, free: 10.86 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.264/2.264, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0009982/0.0009978, allocations: 96.55 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.000479, allocations: 14.38 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001746/0.2132, allocations: 1.222 MB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2148, allocations: 0.7308 MB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.2149, allocations: 3.938 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.2149, allocations: 11.98 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.215, allocations: 11.86 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.2156, allocations: 91.78 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.2157, allocations: 83.69 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.2158, allocations: 15.98 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2159, allocations: 31.92 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.216, allocations: 43.83 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2161, allocations: 3.938 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2163, allocations: 83.84 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.2163, allocations: 23.91 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.2164, allocations: 29.7 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.2166, allocations: 112 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2166, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2166, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2166, allocations: 4 kB / 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008372/0.2175, allocations: 466.5 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2175, allocations: 8.031 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.2176, allocations: 7.906 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2177, allocations: 182.8 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.2178, allocations: 37.69 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2179, allocations: 8 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.2182, allocations: 77.64 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2182, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2182, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2182, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.2185, allocations: 59.89 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.2192, allocations: 320.7 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.2195, allocations: 74.62 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.2197, allocations: 40.78 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.2197, allocations: 12.14 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.2201, allocations: 95.34 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.2201, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007037/0.2208, allocations: 181.6 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.2209, allocations: 55.39 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.221, allocations: 131.9 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.221, allocations: 29.7 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.2211, allocations: 88.38 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2211, allocations: 31.64 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.2211, allocations: 4 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.2212, allocations: 318.8 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2214, allocations: 35.91 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2217, allocations: 77.06 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.2219, allocations: 31.98 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2219, allocations: 4 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000464/0.2223, allocations: 145.4 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2224, allocations: 4 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2224, allocations: 7.984 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2224, allocations: 3.953 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.2226, allocations: 19.92 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2227, allocations: 4 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2228, allocations: 20.02 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.2229, allocations: 12 kB / 0.9833 GB, free: 23.03 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001032/0.223, allocations: 113.8 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.223, allocations: 7.906 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.2231, allocations: 16.7 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2231, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.2231, allocations: 3.953 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2231, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.224, allocations: 438.3 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.224, allocations: 4 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2241, allocations: 7.984 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2241, allocations: 11.95 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2242, allocations: 7.984 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2242, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2242, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.2247, allocations: 235.4 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.2247, allocations: 93 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2248, allocations: 3.953 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.225, allocations: 15.98 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.2251, allocations: 7.984 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.2251, allocations: 4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.2252, allocations: 104.4 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2252, allocations: 0 / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004356/0.2256, allocations: 40 kB / 0.9843 GB, free: 21.84 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0004009/0.226, allocations: 172.9 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.2265, allocations: 92 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2265, allocations: 0 / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2268, allocations: 51.91 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2272, allocations: 12.22 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.2278, allocations: 231.2 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.228, allocations: 0.6926 MB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.2281, allocations: 16.66 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.2281, allocations: 11.44 kB / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2281, allocations: 0 / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.005918/0.2341, allocations: 1.616 MB / 0.9872 GB, free: 18.91 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)