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.001207/0.001207, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.001224/0.001224, allocations: 185.6 kB / 17.31 MB, free: 5.609 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.349/1.349, 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001453/0.001453, allocations: 68.45 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1942, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002578/0.1969, allocations: 1.518 MB / 0.7863 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1981, allocations: 0.7877 MB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.1981, allocations: 4 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.1982, allocations: 7.875 kB / 0.7871 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.1983, allocations: 15.86 kB / 0.7871 GB, free: 0.8477 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.0005056/0.1988, allocations: 127.5 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1989, allocations: 83.7 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.199, allocations: 19.97 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.1991, allocations: 35.86 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.1991, allocations: 43.81 kB / 0.7874 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1992, allocations: 4 kB / 0.7874 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1993, allocations: 99.86 kB / 0.7875 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1994, allocations: 23.91 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1994, allocations: 35.8 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1997, allocations: 143.6 kB / 0.7877 GB, free: 248 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1997, allocations: 4 kB / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1997, allocations: 0 / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1997, allocations: 0 / 0.7877 GB, free: 244 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.3291/0.5288, allocations: 454.9 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5289, allocations: 9.312 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.5289, allocations: 11.23 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.529, allocations: 181.9 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.5291, allocations: 9.469 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.5291, allocations: 3.188 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.5293, allocations: 76.19 kB / 0.7884 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5293, allocations: 2.625 kB / 0.7884 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.5293, allocations: 6.062 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5293, allocations: 2.531 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.5295, allocations: 39.5 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.5299, allocations: 316.3 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.5301, allocations: 67.5 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.5302, allocations: 37.38 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.5302, allocations: 4.688 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.5304, allocations: 92.62 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.5304, allocations: 4.281 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003552/0.5307, allocations: 157.6 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.5308, allocations: 54.53 kB / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.5309, allocations: 130.5 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.5309, allocations: 27.89 kB / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.5309, allocations: 94.89 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.5309, allocations: 29.61 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.531, allocations: 31.97 kB / 0.7894 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.531, allocations: 321 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.5311, allocations: 25.31 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.5312, allocations: 71.73 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.5313, allocations: 104.5 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5314, allocations: 6.562 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000205/0.5316, allocations: 127.8 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5316, allocations: 7.344 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5316, allocations: 2.953 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5316, allocations: 3.125 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5317, allocations: 17.78 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5318, allocations: 3.156 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.5319, allocations: 18.25 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.5319, allocations: 5.625 kB / 0.7901 GB, free: 47.39 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.748e-05/0.532, allocations: 126.9 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.532, allocations: 6.594 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.5323, allocations: 149.8 kB / 0.7904 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5323, allocations: 0 / 0.7904 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5323, allocations: 0.5312 kB / 0.7904 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.5323, allocations: 92.14 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.5323, allocations: 3.375 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.5324, allocations: 7.609 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.5325, allocations: 19.92 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000275/0.5328, allocations: 214.3 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002368/0.533, allocations: 302.8 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.935e-05/0.5331, allocations: 46.55 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.5332, allocations: 101.3 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Backend: time 8.02e-07/0.5332, allocations: 0 / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006316/0.5338, allocations: 190.5 kB / 0.7913 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004285/0.5342, allocations: 0.6408 MB / 0.7919 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.003965/0.5382, allocations: 1.802 MB / 0.7937 GB, free: 46.01 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)