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.00146/0.00146, allocations: 107.3 kB / 16.36 MB, free: 5.945 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.001646/0.001646, allocations: 199.2 kB / 17.3 MB, free: 5.559 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.866/1.866, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001498/0.001498, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003216/0.2459, allocations: 1.504 MB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2475, allocations: 0.7955 MB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.2475, allocations: 0 / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.2476, allocations: 7.875 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2477, allocations: 15.84 kB / 0.7871 GB, free: 0.8242 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.0007137/0.2485, allocations: 131.6 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.2486, allocations: 83.72 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2487, allocations: 11.98 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2489, allocations: 43.84 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.249, allocations: 39.83 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.249, allocations: 4 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.2492, allocations: 99.84 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.2493, allocations: 19.92 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.2493, allocations: 35.78 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.2496, allocations: 151.6 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2496, allocations: 0 / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2496, allocations: 0 / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2496, allocations: 7.938 kB / 0.7877 GB, free: 212 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.4142/0.6639, allocations: 455.5 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6639, allocations: 9.844 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.664, allocations: 8.469 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.6641, allocations: 180.2 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.6641, allocations: 6.188 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.6641, allocations: 9.375 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.6643, allocations: 74.11 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.6643, allocations: 0 / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6644, allocations: 5.219 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6644, allocations: 2.625 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.6645, allocations: 41.53 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.665, allocations: 317.4 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.6651, allocations: 72.06 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.6652, allocations: 31 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.6652, allocations: 3.594 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.6654, allocations: 94.41 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.6654, allocations: 1.438 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003444/0.6658, allocations: 156.4 kB / 0.7891 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.6658, allocations: 63.25 kB / 0.7891 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.6659, allocations: 127.7 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.6659, allocations: 29.83 kB / 0.7893 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.666, allocations: 95.98 kB / 0.7894 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.666, allocations: 20.95 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.666, allocations: 32.97 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.6661, allocations: 321.5 kB / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.6662, allocations: 23.72 kB / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.6662, allocations: 66.59 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.6664, allocations: 110.8 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6664, allocations: 0 / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002/0.6666, allocations: 131.3 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6666, allocations: 6.906 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6666, allocations: 0 / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6667, allocations: 5.797 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.6668, allocations: 18.16 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.6668, allocations: 4.375 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.6669, allocations: 17.72 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6669, allocations: 4.266 kB / 0.7901 GB, free: 47.36 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.46e-05/0.667, allocations: 128.5 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.667, allocations: 9.828 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.6673, allocations: 142 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6673, allocations: 5.406 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6673, allocations: 0 / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6673, allocations: 5.141 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.6678, allocations: 429.6 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6678, allocations: 0.6875 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.6678, allocations: 8.469 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6678, allocations: 1.688 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6679, allocations: 6.266 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.6679, allocations: 1.906 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6679, allocations: 1.312 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.6681, allocations: 235.3 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.6682, allocations: 92.97 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.6682, allocations: 0.625 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.6683, allocations: 12.81 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.6684, allocations: 12.92 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.6684, allocations: 7.625 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.6685, allocations: 102.5 kB / 0.7912 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6685, allocations: 1.094 kB / 0.7912 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003295/0.6688, allocations: 40.62 kB / 0.7913 GB, free: 46.59 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.0003373/0.6691, allocations: 155.2 kB / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.6694, allocations: 88.83 kB / 0.7915 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6694, allocations: 2.625 kB / 0.7915 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.6695, allocations: 49.78 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.6698, allocations: 17.86 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.6703, allocations: 209.6 kB / 0.7918 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.6704, allocations: 0.6939 MB / 0.7925 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.6705, allocations: 11.53 kB / 0.7925 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.6705, allocations: 15.31 kB / 0.7925 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6705, allocations: 0 / 0.7925 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.004235/0.6747, allocations: 1.79 MB / 0.7942 GB, free: 45.59 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)