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.001233/0.001233, allocations: 106.2 kB / 16.35 MB, free: 5.879 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.001288/0.001288, allocations: 193.3 kB / 17.29 MB, free: 5.516 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.372/1.372, 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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001478/0.001478, allocations: 71.89 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 114.6 MB / 0.7848 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002792/0.258, allocations: 1.508 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2593, allocations: 0.7993 MB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.2594, allocations: 0 / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.2594, allocations: 7.875 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.2595, allocations: 15.84 kB / 0.787 GB, free: 0.8828 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.0005078/0.26, allocations: 127.6 kB / 0.7872 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2601, allocations: 83.7 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.2602, allocations: 12 kB / 0.7873 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.2603, allocations: 39.84 kB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.2604, allocations: 43.83 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2604, allocations: 7.938 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.2606, allocations: 99.84 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.2606, allocations: 15.92 kB / 0.7875 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2607, allocations: 35.84 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2609, allocations: 155.5 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2609, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2609, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.261, allocations: 0 / 0.7876 GB, free: 280 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.4018/0.6627, allocations: 457.6 kB / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6628, allocations: 10.31 kB / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.6629, allocations: 7.844 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.6631, allocations: 183 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.6631, allocations: 6.797 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.6631, allocations: 8.75 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.6633, allocations: 70.52 kB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.6634, allocations: 1.719 kB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6634, allocations: 3.938 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6634, allocations: 3.469 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.6635, allocations: 47.19 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.6641, allocations: 312.6 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.6643, allocations: 66.45 kB / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.6644, allocations: 32.11 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.6644, allocations: 2.734 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.6647, allocations: 101.9 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.6647, allocations: 0 / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003847/0.6651, allocations: 151.4 kB / 0.789 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.6651, allocations: 58.28 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.6652, allocations: 136.9 kB / 0.7892 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.6653, allocations: 31.64 kB / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.6653, allocations: 87.81 kB / 0.7893 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6654, allocations: 23.84 kB / 0.7894 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.6654, allocations: 34.17 kB / 0.7894 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.6655, allocations: 319.9 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.6656, allocations: 27.22 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.6657, allocations: 66.5 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.6658, allocations: 114 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6658, allocations: 0 / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002106/0.6661, allocations: 130.5 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6661, allocations: 5.281 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6661, allocations: 4.875 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6661, allocations: 2.656 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6662, allocations: 17.14 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6662, allocations: 0 / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6663, allocations: 19.58 kB / 0.7901 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.6664, allocations: 6.859 kB / 0.7901 GB, free: 47.53 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.543e-05/0.6664, allocations: 130.4 kB / 0.7902 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.6665, allocations: 11.59 kB / 0.7902 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.6668, allocations: 143.2 kB / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6668, allocations: 4.031 kB / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6668, allocations: 0 / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6668, allocations: 0 / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.6673, allocations: 433.1 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6673, allocations: 1.938 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.6674, allocations: 13.88 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6674, allocations: 0 / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6674, allocations: 5.359 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6674, allocations: 0 / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6674, allocations: 1.281 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.6676, allocations: 228 kB / 0.791 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.6677, allocations: 90.88 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.6677, allocations: 9.188 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6678, allocations: 13.19 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.6679, allocations: 9.703 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.6679, allocations: 5.25 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.6679, allocations: 103.3 kB / 0.7912 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6679, allocations: 0.9375 kB / 0.7912 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003171/0.6683, allocations: 42.84 kB / 0.7913 GB, free: 46.76 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.0003173/0.6686, allocations: 165.2 kB / 0.7914 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.6688, allocations: 81.14 kB / 0.7915 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6688, allocations: 0 / 0.7915 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.6689, allocations: 52.73 kB / 0.7915 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6692, allocations: 17.47 kB / 0.7916 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.6697, allocations: 209.7 kB / 0.7918 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.6698, allocations: 0.6924 MB / 0.7924 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.6699, allocations: 12.89 kB / 0.7925 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.6699, allocations: 13.47 kB / 0.7925 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6699, allocations: 1.688 kB / 0.7925 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.004484/0.6744, allocations: 1.783 MB / 0.7942 GB, free: 45.77 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)