Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.815/1.815, allocations: 288.4 MB / 303.7 MB, free: 8.098 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.0009612/0.0009612, allocations: 179.7 kB / 372.3 MB, free: 10.12 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.538/1.538, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.000863/0.000863, allocations: 86.36 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004271, allocations: 15.86 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2399, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001786/0.2418, allocations: 1.218 MB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.243, allocations: 0.7422 MB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.243, allocations: 4 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.243, allocations: 7.922 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.2431, allocations: 3.938 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.2435, allocations: 103.8 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.2436, allocations: 75.7 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2437, allocations: 7.984 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.2438, allocations: 39.84 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.2439, allocations: 31.89 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.2439, allocations: 4 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.244, allocations: 87.84 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2441, allocations: 19.92 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.2441, allocations: 57.56 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2443, allocations: 99.97 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2443, allocations: 4 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2443, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2443, allocations: 0 / 0.9826 GB, free: 24.81 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.0005977/0.2449, allocations: 450.7 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.245, allocations: 12.03 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.245, allocations: 8.844 kB / 0.983 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2451, allocations: 177.3 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2452, allocations: 4.375 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2452, allocations: 4.375 kB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2454, allocations: 85.89 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2454, allocations: 0 / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2454, allocations: 0 / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2454, allocations: 4 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.2455, allocations: 47.97 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.246, allocations: 328.5 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2462, allocations: 70.55 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.2463, allocations: 32.84 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2463, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.2465, allocations: 103.3 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.2465, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003277/0.2468, allocations: 161.5 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2469, allocations: 55.41 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.247, allocations: 126.8 kB / 0.9842 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.247, allocations: 29.7 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.247, allocations: 92.38 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.247, allocations: 23.7 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.2471, allocations: 0 / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.2471, allocations: 330.7 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.2472, allocations: 27.98 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.2473, allocations: 69.14 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2474, allocations: 109 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2474, allocations: 0 / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001921/0.2476, allocations: 133.4 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2476, allocations: 8 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2477, allocations: 0 / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2477, allocations: 4 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2478, allocations: 15.98 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.2478, allocations: 0 / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.2479, allocations: 31.95 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2479, allocations: 4 kB / 0.985 GB, free: 22.05 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 6.876e-05/0.248, allocations: 123.8 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.248, allocations: 11.91 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.2483, allocations: 149.9 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2483, allocations: 0 / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2483, allocations: 3.938 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2483, allocations: 7.984 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.2487, allocations: 434.4 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2487, allocations: 4 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.2488, allocations: 20.3 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2488, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2488, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2489, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2489, allocations: 7.875 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2491, allocations: 235.3 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.2491, allocations: 88.95 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2492, allocations: 4 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2493, allocations: 11.98 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2493, allocations: 15.92 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2493, allocations: 4 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.2494, allocations: 97.89 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2494, allocations: 0 / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003065/0.2497, allocations: 47.98 kB / 0.9862 GB, free: 20.71 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.0003153/0.25, allocations: 166.5 kB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2503, allocations: 91.89 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2503, allocations: 0 / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.2504, allocations: 47.92 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.2506, allocations: 16.73 kB / 0.9865 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.251, allocations: 227.3 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2512, allocations: 0.6926 MB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.2512, allocations: 12.42 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.2513, allocations: 19.38 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2513, allocations: 3.938 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.003632/0.2549, allocations: 1.631 MB / 0.989 GB, free: 17.77 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)