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 2.628/2.628, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001366/0.001366, allocations: 172.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.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009677/0.0009676, allocations: 86.81 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 10.98 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001748/0.2148, allocations: 1.211 MB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2164, allocations: 0.7385 MB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.2165, allocations: 4 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.2165, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2166, allocations: 19.84 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.2172, allocations: 95.77 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2173, allocations: 71.77 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.2174, allocations: 8 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2175, allocations: 47.84 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.2176, allocations: 31.83 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2177, allocations: 4 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.2179, allocations: 79.92 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.218, allocations: 19.89 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.218, allocations: 37.7 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2182, allocations: 100 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2183, allocations: 3.938 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2183, allocations: 0 / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2183, allocations: 3.938 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.0007662/0.2191, allocations: 454.5 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2191, allocations: 8.031 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.2192, allocations: 11.84 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2193, allocations: 178.9 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.2193, allocations: 4 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.2194, allocations: 11.98 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2196, allocations: 77.59 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2196, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2197, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2197, allocations: 4 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.2199, allocations: 39.97 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.2206, allocations: 328.7 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.2208, allocations: 66.58 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.221, allocations: 36.84 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.221, allocations: 8 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.2213, allocations: 87.36 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.826e-06/0.2213, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005815/0.2219, allocations: 169.4 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.222, allocations: 59.39 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2221, allocations: 130.2 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2221, allocations: 29.69 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.2222, allocations: 96.31 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2222, allocations: 23.86 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.2222, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.478e-05/0.2223, allocations: 319.2 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2224, allocations: 31.98 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2226, allocations: 70.38 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2227, allocations: 31.98 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2227, allocations: 15.88 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003586/0.2231, allocations: 125.4 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2231, allocations: 4 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2232, allocations: 4 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2232, allocations: 3.984 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.2234, allocations: 19.92 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2234, allocations: 12.08 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2236, allocations: 15.94 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.2236, allocations: 7.984 kB / 0.9831 GB, free: 23.18 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.0001086/0.2237, allocations: 126.8 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2238, allocations: 7.906 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.2242, allocations: 146 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2242, allocations: 4 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2243, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2243, allocations: 3.953 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007141/0.225, allocations: 438.3 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.225, allocations: 0 / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2251, allocations: 8 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2251, allocations: 0 / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.2252, allocations: 15.94 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2252, allocations: 0 / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2252, allocations: 0 / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.2256, allocations: 231.3 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.2256, allocations: 88.95 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.2257, allocations: 7.984 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.2259, allocations: 11.95 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2259, allocations: 11.97 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.226, allocations: 4 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.2261, allocations: 100.4 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2261, allocations: 4 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004002/0.2265, allocations: 40 kB / 0.9843 GB, free: 21.86 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.0003784/0.2269, allocations: 164.4 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.2272, allocations: 99.77 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2272, allocations: 0 / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2274, 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.0003821/0.2278, 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.0005543/0.2284, 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.0001348/0.2285, allocations: 0.6926 MB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.21e-05/0.2286, allocations: 12.42 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.2287, allocations: 15.44 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2287, allocations: 0 / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.005619/0.2343, allocations: 1.626 MB / 0.9872 GB, free: 18.91 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)