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.001246/0.001245, allocations: 109.4 kB / 15.69 MB, free: 128 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.001367/0.001367, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.844/1.844, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001467/0.001467, allocations: 72.12 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2666, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002801/0.2694, allocations: 1.508 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2707, allocations: 0.8003 MB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.2707, allocations: 0 / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.2708, allocations: 3.938 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.2709, allocations: 19.84 kB / 0.7864 GB, free: 10.38 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.0005449/0.2714, allocations: 127.5 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.2716, allocations: 87.72 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.2717, allocations: 7.984 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2718, allocations: 39.91 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.2719, allocations: 39.83 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.2719, allocations: 8 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2721, allocations: 95.84 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.2721, allocations: 19.92 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.2722, allocations: 35.84 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.2725, allocations: 159.5 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2725, allocations: 0 / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2725, allocations: 0 / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2725, allocations: 0 / 0.787 GB, free: 9.766 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.0007229/0.2732, allocations: 458.6 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2733, allocations: 8.031 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.2733, allocations: 8.844 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2735, allocations: 188.2 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2735, allocations: 4.375 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2735, allocations: 4.375 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2737, allocations: 85.88 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2737, allocations: 0 / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2737, allocations: 0 / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2737, allocations: 4 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2739, allocations: 39.97 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.2744, allocations: 320.7 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.2746, allocations: 70.58 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.2747, allocations: 32.84 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2747, allocations: 0 / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.2749, allocations: 91.36 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.2749, allocations: 0 / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004/0.2753, allocations: 157.5 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.2754, allocations: 63.34 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2755, allocations: 133 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2755, allocations: 33.64 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2756, allocations: 88.38 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.2757, allocations: 23.7 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.2757, allocations: 33.7 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2759, allocations: 326.8 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.276, allocations: 24.36 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2761, allocations: 65.14 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.2763, allocations: 101.1 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2763, allocations: 0 / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002374/0.2765, allocations: 133.5 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2765, allocations: 10.69 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2766, allocations: 4 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2766, allocations: 0 / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2767, allocations: 19.92 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2767, allocations: 0 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2768, allocations: 19.92 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2769, allocations: 4 kB / 0.7894 GB, free: 6.996 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.0001195/0.277, allocations: 130.4 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.277, allocations: 7.906 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.2774, allocations: 149.9 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2774, allocations: 96 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2774, allocations: 0 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2774, allocations: 7.969 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.278, allocations: 426.4 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.278, allocations: 8 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.2781, allocations: 11.98 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2781, allocations: 4 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2781, allocations: 0 / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2781, allocations: 0 / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2781, allocations: 3.938 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.2784, allocations: 231.3 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.2785, allocations: 88.95 kB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2785, allocations: 4 kB / 0.7904 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2787, allocations: 15.98 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.2787, allocations: 11.92 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.2787, allocations: 4 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.2788, allocations: 99.27 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2788, allocations: 0 / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003245/0.2792, allocations: 43.98 kB / 0.7906 GB, free: 5.668 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.0003967/0.2796, allocations: 166.6 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2799, allocations: 87.77 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2799, allocations: 0 / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.28, allocations: 43.98 kB / 0.7909 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.2803, allocations: 25.78 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.2808, allocations: 211.5 kB / 0.7911 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.281, allocations: 0.6924 MB / 0.7918 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.2811, allocations: 16.42 kB / 0.7918 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.2811, allocations: 11.44 kB / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2811, allocations: 0 / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of Templates: time 0.004731/0.2859, allocations: 1.796 MB / 0.7936 GB, free: 2.598 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)