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.001407/0.001407, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.683/1.683, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001475/0.001475, allocations: 74.2 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2794, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003193/0.2827, allocations: 1.508 MB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.2843, allocations: 0.7887 MB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.2844, allocations: 0 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.2845, allocations: 11.88 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2846, allocations: 15.86 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.2853, allocations: 131.5 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2855, allocations: 87.7 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2856, allocations: 8 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.2857, allocations: 47.83 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2859, allocations: 35.84 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.2859, allocations: 8 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2861, allocations: 99.84 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.2862, allocations: 19.91 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.2862, allocations: 31.86 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.2865, allocations: 147.8 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2865, allocations: 3.984 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2865, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2865, allocations: 0 / 0.7862 GB, free: 10.54 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.0008211/0.2874, allocations: 458.6 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2874, allocations: 8.031 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.2875, allocations: 12.83 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2876, allocations: 180.2 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2877, allocations: 4.312 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.2877, allocations: 4.375 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2879, allocations: 81.95 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2879, allocations: 4 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2879, allocations: 0 / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.2879, allocations: 7.984 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2881, allocations: 39.97 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.2887, allocations: 320.6 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2889, allocations: 70.55 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.289, allocations: 32.84 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.289, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.2893, allocations: 99.33 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.592e-06/0.2893, allocations: 0 / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004061/0.2897, allocations: 157.5 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.2897, allocations: 59.41 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2899, allocations: 129.7 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.2899, allocations: 29.7 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.29, allocations: 92.36 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.29, allocations: 19.86 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.2901, allocations: 37.64 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2902, allocations: 326.8 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.2903, allocations: 27.98 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2904, allocations: 73.12 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.2906, allocations: 101 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2906, allocations: 0 / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002393/0.2909, allocations: 129.4 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2909, allocations: 4 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.2909, allocations: 4 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.291, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2911, allocations: 20.11 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.2911, allocations: 0 / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2912, allocations: 27.86 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2912, allocations: 4 kB / 0.7887 GB, free: 7.75 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 0.0001215/0.2914, allocations: 121.8 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.2914, allocations: 11.91 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.2918, allocations: 145.9 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2918, allocations: 7.922 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2918, allocations: 0 / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2918, allocations: 0 / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.2925, allocations: 418.4 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2926, allocations: 0 / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.2926, allocations: 15.92 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.2926, allocations: 4.094 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2927, allocations: 8.375 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2927, allocations: 0 / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.2927, allocations: 7.922 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.293, allocations: 223.3 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.2931, allocations: 92.89 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2931, allocations: 0 / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2932, allocations: 15.98 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2933, allocations: 15.92 kB / 0.7897 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2933, allocations: 4 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.2934, allocations: 100.3 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 3.938 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003303/0.2937, allocations: 43.98 kB / 0.7899 GB, free: 6.43 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 (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.0003783/0.2941, allocations: 160.3 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.2944, allocations: 83.83 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.2944, allocations: 4 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2945, allocations: 47.92 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2948, allocations: 15.98 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.2953, allocations: 215.8 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2956, allocations: 0.7002 MB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.2957, allocations: 12.38 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.2957, allocations: 19.42 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2957, allocations: 7.938 kB / 0.7911 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.005327/0.3011, allocations: 1.778 MB / 0.7928 GB, free: 3.359 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (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)