Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.782/2.782, 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.001333/0.001333, allocations: 185.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.173/2.173, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0008647/0.0008645, allocations: 86.41 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 10.78 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001804/0.2199, allocations: 1.211 MB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2215, allocations: 0.7424 MB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.2216, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.2216, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2217, allocations: 15.86 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.2223, allocations: 95.77 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2224, allocations: 75.77 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.2225, allocations: 15.98 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2226, allocations: 35.86 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.2227, allocations: 43.81 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2227, allocations: 0 / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.223, allocations: 71.94 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.223, allocations: 23.89 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.2231, allocations: 33.7 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2233, allocations: 108 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2233, allocations: 0 / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2233, allocations: 3.938 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2233, allocations: 4 kB / 0.9808 GB, free: 25.86 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.0007479/0.2241, allocations: 450.5 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2241, allocations: 8.031 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.2242, allocations: 11.84 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2243, allocations: 178.9 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.2243, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2244, allocations: 7.984 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.2246, allocations: 73.59 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2246, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2247, allocations: 4 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2247, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2249, allocations: 43.97 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.2255, allocations: 324.7 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2257, allocations: 70.58 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2259, allocations: 40.83 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2259, allocations: 4 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.2262, allocations: 91.5 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.2262, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005531/0.2268, allocations: 173.4 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2268, allocations: 55.41 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2269, allocations: 127.1 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.227, allocations: 33.69 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.227, allocations: 88.38 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.2271, allocations: 23.66 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2271, allocations: 4 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.2271, allocations: 323.2 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.2273, allocations: 31.92 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2274, allocations: 70.5 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2276, allocations: 35.98 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2276, allocations: 3.938 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000336/0.2279, allocations: 129.4 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2279, allocations: 4 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.228, allocations: 4 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.228, allocations: 4.109 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2282, allocations: 24.02 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2282, allocations: 7.953 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2284, allocations: 11.94 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2284, allocations: 15.97 kB / 0.9831 GB, free: 23.17 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 9.06e-05/0.2285, allocations: 122.8 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.2285, allocations: 7.906 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.229, allocations: 150 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.229, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.229, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.229, allocations: 11.89 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.2297, allocations: 438.3 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2297, allocations: 0 / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.2298, allocations: 8 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2299, allocations: 4 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2299, allocations: 7.938 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2299, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2299, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.2303, allocations: 231.3 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.2303, allocations: 96.94 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2304, allocations: 0 / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2306, allocations: 11.95 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.2306, allocations: 15.97 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.2307, allocations: 4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.2307, allocations: 100.4 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2307, allocations: 0 / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003922/0.2311, allocations: 40 kB / 0.9843 GB, free: 21.85 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 (12): * Single equations (assignments): 9 * 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.0004028/0.2316, allocations: 165.3 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.2319, allocations: 91.78 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2319, allocations: 0 / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.2321, allocations: 47.97 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.2325, allocations: 15.98 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.2331, allocations: 235.2 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2333, allocations: 0.6926 MB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.515e-05/0.2334, allocations: 16.59 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.2334, allocations: 15.44 kB / 0.9856 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2.334e-06/0.2334, allocations: 0 / 0.9856 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.007532/0.241, allocations: 1.633 MB / 0.9872 GB, free: 18.9 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)