Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.000573, allocations: 12.88 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2624, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001735/0.2642, allocations: 1.2 MB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2658, allocations: 0.7532 MB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.2659, allocations: 0 / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.266, allocations: 3.938 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2661, allocations: 15.95 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.2669, allocations: 95.64 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.267, allocations: 51.92 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2672, allocations: 12 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.2673, allocations: 39.83 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.2674, allocations: 31.91 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2675, allocations: 0 / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.2677, allocations: 71.86 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.2678, allocations: 11.98 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2678, allocations: 41.64 kB / 0.7894 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.2681, allocations: 104 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2681, allocations: 7.938 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2681, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2681, allocations: 4 kB / 0.7895 GB, free: 9.523 MB / 0.6075 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.0008923/0.269, allocations: 438.5 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.2691, allocations: 12.03 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.2691, allocations: 7.906 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2694, allocations: 182.9 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.2694, allocations: 4 kB / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2694, allocations: 4 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2697, allocations: 81.58 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2697, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.2697, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2697, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2699, allocations: 51.97 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.2704, allocations: 324.7 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.2706, allocations: 62.55 kB / 0.7906 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2706, allocations: 8 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.2709, allocations: 95.33 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 4.108e-06/0.2709, allocations: 3.984 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004049/0.2713, allocations: 165.5 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2713, allocations: 55.41 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2715, allocations: 137.7 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2715, allocations: 25.7 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.2716, allocations: 92.38 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2716, allocations: 23.7 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.2716, allocations: 0 / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2717, allocations: 314.8 kB / 0.7915 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.2718, allocations: 43.97 kB / 0.7915 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2719, allocations: 61.14 kB / 0.7916 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.272, allocations: 47.86 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.272, allocations: 0 / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000245/0.2723, allocations: 129.4 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2723, allocations: 4 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2723, allocations: 4 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2724, allocations: 0 / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2725, allocations: 16.11 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2725, allocations: 8 kB / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2726, allocations: 23.88 kB / 0.7918 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2726, allocations: 4 kB / 0.7918 GB, free: 6.895 MB / 0.6075 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.0001114/0.2728, allocations: 125.8 kB / 0.7919 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.2728, allocations: 7.906 kB / 0.7919 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.2731, allocations: 150 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2732, allocations: 0 / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2732, allocations: 0 / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2732, allocations: 0 / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.2738, allocations: 446.4 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2738, allocations: 0 / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.2739, allocations: 15.94 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2739, allocations: 4.359 kB / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2739, allocations: 8 kB / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2739, allocations: 0 / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.2739, allocations: 3.953 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.2742, allocations: 235.3 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.2743, allocations: 88.95 kB / 0.7928 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2743, allocations: 4 kB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2744, allocations: 11.98 kB / 0.7929 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2745, allocations: 11.94 kB / 0.7929 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2745, allocations: 4 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.2746, allocations: 102.9 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2746, allocations: 4 kB / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003155/0.2749, allocations: 43.98 kB / 0.793 GB, free: 5.551 MB / 0.6075 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.0003843/0.2753, allocations: 163.3 kB / 0.7932 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2755, allocations: 91.83 kB / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2756, allocations: 0 / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2757, allocations: 51.92 kB / 0.7933 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2759, allocations: 7.984 kB / 0.7933 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.2764, allocations: 235.3 kB / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2767, allocations: 0.6965 MB / 0.7942 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.2767, allocations: 12.44 kB / 0.7942 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.2767, allocations: 15.42 kB / 0.7942 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2768, allocations: 3.938 kB / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.004469/0.2812, allocations: 1.619 MB / 0.7958 GB, free: 2.625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) Environment - environmentSimulation: