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.001067/0.001067, allocations: 116.9 kB / 16.38 MB, free: 6.004 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.001157/0.001157, allocations: 189.2 kB / 17.3 MB, free: 5.617 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.75 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.001482/0.001482, allocations: 59.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002787/0.2535, allocations: 1.527 MB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2549, allocations: 0.7877 MB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.255, allocations: 0 / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.2551, allocations: 7.922 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.739e-05/0.2552, allocations: 19.81 kB / 0.7871 GB, free: 0.8203 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.0006062/0.2558, allocations: 123.6 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.2559, allocations: 91.69 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.256, allocations: 8 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2561, allocations: 39.84 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.2562, allocations: 39.83 kB / 0.7874 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2563, allocations: 8 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.2565, allocations: 99.91 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.2565, allocations: 15.92 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.2566, allocations: 35.8 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2568, allocations: 155.5 kB / 0.7877 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2568, allocations: 4 kB / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2568, allocations: 0 / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2569, allocations: 0 / 0.7877 GB, free: 216 kB / 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.4262/0.6831, allocations: 452 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6831, allocations: 11.22 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.6832, allocations: 11.06 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.6833, allocations: 181.3 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.6833, allocations: 7.781 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.6834, allocations: 5.625 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.6836, allocations: 76.53 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6836, allocations: 0 / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.6836, allocations: 7.453 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6836, allocations: 4.562 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.6837, allocations: 40.28 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.6842, allocations: 312.5 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.6844, allocations: 68.62 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.6845, allocations: 37.14 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.6845, allocations: 1.016 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.6847, allocations: 97.33 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.6848, allocations: 0 / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003547/0.6851, allocations: 158 kB / 0.7891 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.6852, allocations: 54.78 kB / 0.7891 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.6852, allocations: 131.3 kB / 0.7892 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.6853, allocations: 29.7 kB / 0.7893 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.6853, allocations: 93.14 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.6853, allocations: 20.45 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.6854, allocations: 37.7 kB / 0.7894 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.6854, allocations: 317.7 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.6855, allocations: 32.58 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.6856, allocations: 66.27 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.6857, allocations: 104.6 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6858, allocations: 2.688 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002/0.686, allocations: 133.2 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.686, allocations: 6.688 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.686, allocations: 2.844 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.686, allocations: 2.844 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.6861, allocations: 16.06 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.6861, allocations: 6.25 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.63e-05/0.6862, allocations: 10.72 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.6863, allocations: 12.89 kB / 0.7901 GB, free: 47.42 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 7.113e-05/0.6863, allocations: 123.6 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.6864, allocations: 6.969 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.6867, allocations: 152.7 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6867, allocations: 0 / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6867, allocations: 0.5938 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6867, allocations: 2.406 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.6872, allocations: 430.4 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6872, allocations: 3.438 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.6873, allocations: 14.52 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6873, allocations: 3.469 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.6873, allocations: 0 / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6873, allocations: 3.938 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6873, allocations: 0.7812 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.6876, allocations: 230.5 kB / 0.791 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.6876, allocations: 88.23 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.6876, allocations: 4 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.6877, allocations: 12.05 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.6878, allocations: 13.36 kB / 0.7911 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6878, allocations: 9.125 kB / 0.7911 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.6879, allocations: 99.58 kB / 0.7912 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.22e-07/0.6879, allocations: 0 / 0.7912 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000332/0.6882, allocations: 44.69 kB / 0.7913 GB, free: 46.65 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.0003395/0.6886, allocations: 159.4 kB / 0.7914 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.6888, allocations: 86.16 kB / 0.7915 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6888, allocations: 2.781 kB / 0.7915 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.6889, allocations: 48.17 kB / 0.7916 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.6892, allocations: 22.02 kB / 0.7916 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.6897, allocations: 238.3 kB / 0.7918 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.6898, allocations: 0.6929 MB / 0.7925 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.6899, allocations: 14.94 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.202e-06/0.6899, allocations: 0 / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.003807/0.6937, allocations: 1.821 MB / 0.7943 GB, free: 45.58 MB / 0.6544 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)