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.001577/0.001577, allocations: 102.8 kB / 16.27 MB, free: 6.418 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.001779/0.001779, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.659/1.659, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.841/1.841, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.00144/0.00144, allocations: 67.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2757, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003071/0.2788, allocations: 1.503 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2803, allocations: 0.7993 MB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.2804, allocations: 0 / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.2804, allocations: 3.938 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.39e-05/0.2806, allocations: 15.84 kB / 0.7863 GB, free: 1.555 MB / 0.6544 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.0006505/0.2812, allocations: 139.5 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2814, allocations: 87.7 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2815, allocations: 7.984 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2816, allocations: 35.91 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.2817, allocations: 39.84 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.2817, allocations: 11.98 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.2819, allocations: 91.86 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.282, allocations: 23.91 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.282, allocations: 39.78 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.2823, allocations: 143.9 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2823, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2823, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2823, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 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.0008136/0.2831, allocations: 462.6 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2832, allocations: 8.031 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.2832, allocations: 16.84 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2834, allocations: 176.2 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2834, allocations: 8.375 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.2835, allocations: 4.375 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2836, allocations: 77.95 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2837, allocations: 0 / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2837, allocations: 0 / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2837, allocations: 3.938 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.2838, allocations: 43.97 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4808/0.7646, allocations: 319.3 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.7648, allocations: 61.02 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.7649, allocations: 37.09 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.7649, allocations: 4.688 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.7652, allocations: 93.11 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.735e-06/0.7652, allocations: 2.25 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003786/0.7656, allocations: 160.4 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.7656, allocations: 52.28 kB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.7657, allocations: 132.3 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7658, allocations: 27.67 kB / 0.7885 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.7658, allocations: 91.53 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.7658, allocations: 27.55 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.7659, allocations: 31.94 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.766, allocations: 324.5 kB / 0.789 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.766, allocations: 25.2 kB / 0.789 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.7661, allocations: 71.36 kB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.7662, allocations: 107.4 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7663, allocations: 1.844 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001968/0.7665, allocations: 129 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7665, allocations: 6.281 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7665, allocations: 0 / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.7665, allocations: 6.094 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7666, allocations: 25.62 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.7666, allocations: 0 / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-05/0.7667, allocations: 18.48 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.7668, allocations: 6.094 kB / 0.7893 GB, free: 47.99 MB / 0.6544 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 6.651e-05/0.7668, allocations: 116.4 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.7669, allocations: 19.52 kB / 0.7895 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.7671, allocations: 148.1 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7671, allocations: 2.812 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7672, allocations: 3.969 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7672, allocations: 0 / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.7676, allocations: 425.4 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7676, allocations: 0 / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.7677, allocations: 13.56 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7677, allocations: 7.719 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.7677, allocations: 0 / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7677, allocations: 0.6875 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7677, allocations: 5.906 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.7679, allocations: 228.9 kB / 0.7903 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.768, allocations: 87.33 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.768, allocations: 0 / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.7681, allocations: 10.81 kB / 0.7904 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.7682, allocations: 11.61 kB / 0.7904 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.7682, allocations: 6.984 kB / 0.7904 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.7683, allocations: 106.8 kB / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7683, allocations: 0 / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003147/0.7686, allocations: 44.88 kB / 0.7905 GB, free: 47.23 MB / 0.6544 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.0003163/0.7689, allocations: 160.8 kB / 0.7907 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.7692, allocations: 90.77 kB / 0.7908 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7692, allocations: 4.938 kB / 0.7908 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.7693, allocations: 43.86 kB / 0.7908 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.7696, allocations: 21.05 kB / 0.7908 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.77, allocations: 229.7 kB / 0.791 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.7701, allocations: 0.6989 MB / 0.7917 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.7702, allocations: 17.14 kB / 0.7917 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7702, allocations: 0.75 kB / 0.7917 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.003317/0.7735, allocations: 1.825 MB / 0.7935 GB, free: 46.17 MB / 0.6544 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)