Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 179.5 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008982/0.0008979, allocations: 87.95 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 10.38 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.239, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001814/0.2409, allocations: 1.223 MB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2422, allocations: 0.7992 MB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.2423, allocations: 0 / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.2423, allocations: 0 / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2424, allocations: 15.86 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.2429, allocations: 103.8 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.243, allocations: 79.78 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2432, allocations: 15.97 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2433, allocations: 39.8 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.2433, allocations: 35.83 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2434, allocations: 4 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2435, allocations: 87.91 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.2436, allocations: 11.98 kB / 0.9038 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.2436, allocations: 57.5 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.2438, allocations: 103.7 kB / 0.904 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2438, allocations: 0 / 0.904 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.025e-06/0.2438, allocations: 0 / 0.904 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2439, allocations: 4 kB / 0.904 GB, free: 60.91 MB / 0.6042 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.000688/0.2446, allocations: 466.7 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2446, allocations: 8.031 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.2447, allocations: 4.938 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2448, allocations: 182.6 kB / 0.9046 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2448, allocations: 4.375 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2448, allocations: 8.375 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.245, allocations: 81.95 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.245, allocations: 3.938 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2451, allocations: 0 / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2451, allocations: 0 / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2452, allocations: 47.97 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.2457, allocations: 324.8 kB / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2459, allocations: 66.59 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.246, allocations: 40.83 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.246, allocations: 0 / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.2462, allocations: 95.36 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.2462, allocations: 0 / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003971/0.2466, allocations: 165.5 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2467, allocations: 55.77 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2468, allocations: 129.8 kB / 0.9056 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2468, allocations: 29.7 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.2469, allocations: 92.36 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2469, allocations: 27.59 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.2469, allocations: 0 / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.247, allocations: 330.7 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.247, allocations: 31.98 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.2471, allocations: 69.12 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2473, allocations: 105.1 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2473, allocations: 0 / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002028/0.2475, allocations: 133.4 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2475, allocations: 8.125 kB / 0.9064 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2475, allocations: 0 / 0.9064 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2476, allocations: 4 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2477, allocations: 19.92 kB / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2477, allocations: 0 / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.2478, allocations: 19.98 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2478, allocations: 7.938 kB / 0.9064 GB, free: 58.14 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.2479, allocations: 132.1 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.2479, allocations: 11.91 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.2482, allocations: 149.9 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2482, allocations: 4 kB / 0.9067 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2482, allocations: 0 / 0.9067 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2482, allocations: 0 / 0.9067 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.2487, allocations: 438.4 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2487, allocations: 0 / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.2488, allocations: 11.98 kB / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2488, allocations: 0 / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2488, allocations: 8 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2488, allocations: 3.984 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2488, allocations: 11.92 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2491, allocations: 227.3 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.2491, allocations: 85.02 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2491, allocations: 3.984 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2492, allocations: 16 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.2493, allocations: 11.92 kB / 0.9075 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2493, allocations: 7.984 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.2494, allocations: 102.5 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2494, allocations: 0 / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000289/0.2497, allocations: 40 kB / 0.9076 GB, free: 56.8 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003212/0.25, allocations: 173.3 kB / 0.9078 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.2502, allocations: 83.89 kB / 0.9079 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2502, allocations: 3.938 kB / 0.9079 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.2503, allocations: 55.91 kB / 0.9079 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2506, allocations: 16.25 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.2511, allocations: 268.6 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2512, allocations: 0.6965 MB / 0.9089 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.2512, allocations: 15.44 kB / 0.9089 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2512, allocations: 0 / 0.9089 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.003256/0.2545, allocations: 1.803 MB / 0.9106 GB, free: 53.64 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)