Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, 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.001598/0.001598, allocations: 187.9 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.836/1.836, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.001402/0.001402, allocations: 77.36 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003452/0.2718, allocations: 1.5 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2734, allocations: 0.8043 MB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.2735, allocations: 0 / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.2736, allocations: 3.938 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2738, allocations: 23.78 kB / 0.7864 GB, free: 10.43 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.0006665/0.2744, allocations: 115.6 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.2746, allocations: 87.7 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2747, allocations: 15.98 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.2748, allocations: 39.84 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.2749, allocations: 39.83 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.275, allocations: 8 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.2752, allocations: 91.91 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2753, allocations: 23.91 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.2753, allocations: 35.8 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2756, allocations: 151.5 kB / 0.787 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2756, allocations: 0 / 0.787 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2756, allocations: 0 / 0.787 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2756, allocations: 4 kB / 0.787 GB, free: 9.824 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.0008218/0.2764, allocations: 462.6 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2765, allocations: 8.031 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.2766, allocations: 8.844 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2767, allocations: 180.2 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2767, allocations: 8.312 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2768, allocations: 16.31 kB / 0.7876 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.277, allocations: 73.97 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.277, allocations: 0 / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.277, allocations: 4 kB / 0.7877 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.277, allocations: 3.984 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2771, allocations: 39.97 kB / 0.7877 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.2778, allocations: 320.7 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.2779, allocations: 66.55 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.278, allocations: 32.84 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.278, allocations: 4 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.2783, allocations: 91.39 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.2783, allocations: 0 / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004044/0.2787, allocations: 161.5 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.2788, allocations: 59.34 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2789, allocations: 130.6 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2789, allocations: 29.7 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.279, allocations: 88.38 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.279, allocations: 27.84 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.2791, allocations: 33.7 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2792, allocations: 322.8 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.2793, allocations: 27.97 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.2794, allocations: 67.14 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.2796, allocations: 109 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2796, allocations: 0 / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002385/0.2799, allocations: 125.4 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2799, allocations: 11.92 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2799, allocations: 0 / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2799, allocations: 8.125 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.28, allocations: 19.98 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.28, allocations: 0 / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.2802, allocations: 11.94 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2802, allocations: 7.984 kB / 0.7894 GB, free: 7.047 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 9.566e-05/0.2803, allocations: 125.7 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2803, allocations: 7.906 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.2807, allocations: 153.9 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2807, allocations: 4 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2807, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2807, allocations: 3.938 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.2812, allocations: 418.3 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2813, allocations: 0 / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.2813, allocations: 11.94 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2813, allocations: 0 / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2814, allocations: 15.98 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2814, allocations: 0 / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.2814, allocations: 7.922 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2817, allocations: 219.4 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.2817, allocations: 92.94 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2818, allocations: 8 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2819, allocations: 11.98 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.2819, allocations: 15.92 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.282, allocations: 8 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.282, allocations: 91.27 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.282, allocations: 4 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003139/0.2824, allocations: 36 kB / 0.7906 GB, free: 5.73 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.0003688/0.2827, allocations: 178.9 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.283, allocations: 83.84 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.283, allocations: 0 / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.2832, allocations: 51.91 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.2835, allocations: 15.98 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.2839, allocations: 215.8 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2842, allocations: 0.6924 MB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.202e-05/0.2843, allocations: 12.42 kB / 0.7918 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2843, allocations: 15.44 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2843, allocations: 0 / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.004861/0.2892, allocations: 1.792 MB / 0.7936 GB, free: 2.648 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)