Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.774/1.774, allocations: 287.5 MB / 302.6 MB, free: 8.164 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.001182/0.001182, allocations: 182 kB / 371.2 MB, free: 10.73 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.638/1.638, allocations: 205.4 MB / 0.6298 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.0008785/0.0008785, allocations: 86.28 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004583, allocations: 14.8 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2172, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00152/0.2188, allocations: 1.214 MB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2199, allocations: 0.7346 MB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.22, allocations: 4 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.22, allocations: 3.938 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.2201, allocations: 15.91 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.2206, allocations: 95.77 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.2208, allocations: 79.7 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.2209, allocations: 8 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.221, allocations: 35.92 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.221, allocations: 39.81 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2211, allocations: 4 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.2212, allocations: 79.86 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.2213, allocations: 15.97 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.2213, allocations: 37.64 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.2215, allocations: 104 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2215, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2216, allocations: 4 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2216, allocations: 3.938 kB / 0.9811 GB, free: 25.68 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.0007423/0.2223, allocations: 450.7 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2224, allocations: 8.031 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.2224, allocations: 8.844 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2226, allocations: 182.3 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.2226, allocations: 8.359 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2226, allocations: 8.375 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.2229, allocations: 81.97 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2229, allocations: 3.938 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2229, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2229, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.223, allocations: 47.91 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.2237, allocations: 336.6 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.2238, allocations: 58.55 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.2239, allocations: 44.84 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.224, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.2242, allocations: 95.39 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.2242, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000409/0.2246, allocations: 165.5 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2247, allocations: 55.41 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.2248, allocations: 125.8 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2248, allocations: 25.7 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.2249, allocations: 92.38 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.2249, allocations: 19.72 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2249, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.225, allocations: 326.8 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.2251, allocations: 31.98 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.653e-05/0.2252, allocations: 70 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2253, allocations: 109 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2253, allocations: 3.938 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002232/0.2256, allocations: 137.5 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2256, allocations: 8 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2256, allocations: 0 / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2256, allocations: 7.984 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2258, allocations: 11.98 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2258, allocations: 8.312 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2259, allocations: 15.84 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2259, allocations: 11.98 kB / 0.9835 GB, free: 22.91 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 8.694e-05/0.226, allocations: 125.8 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.226, allocations: 11.84 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.2263, allocations: 153.9 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2264, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2264, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2264, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.2269, allocations: 446.4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2269, allocations: 0 / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.227, allocations: 8 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.227, allocations: 4 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.227, allocations: 7.984 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.227, allocations: 0 / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.227, allocations: 3.938 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2273, allocations: 227.4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.2273, allocations: 88.95 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2273, allocations: 3.984 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2274, allocations: 12 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.2275, allocations: 27.84 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2275, allocations: 0 / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.2276, allocations: 96.39 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2276, allocations: 0 / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003246/0.2279, allocations: 44 kB / 0.9847 GB, free: 21.57 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.0003291/0.2282, allocations: 158.8 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2285, allocations: 99.8 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2285, allocations: 0 / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.2286, allocations: 48.16 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2289, allocations: 19.98 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.2293, allocations: 227.1 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2294, allocations: 0.6965 MB / 0.9859 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.2295, allocations: 8.438 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.2295, allocations: 15.42 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2295, allocations: 0 / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.004111/0.2336, allocations: 1.616 MB / 0.9875 GB, free: 18.65 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)