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.001039/0.001039, allocations: 118.2 kB / 16.38 MB, free: 6.02 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.001014/0.001014, allocations: 189.2 kB / 17.31 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.342/1.342, 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.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.002675/0.002675, allocations: 64.12 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1981, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002439/0.2005, allocations: 1.511 MB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2017, allocations: 0.7877 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.2018, allocations: 7.938 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.2018, allocations: 11.86 kB / 0.7871 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.2019, allocations: 11.88 kB / 0.7871 GB, free: 0.8555 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.0004877/0.2024, allocations: 119.6 kB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2025, allocations: 91.69 kB / 0.7873 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.2026, allocations: 8 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.2027, allocations: 43.84 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.2028, allocations: 43.83 kB / 0.7874 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2028, allocations: 8 kB / 0.7874 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.203, allocations: 91.84 kB / 0.7875 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.203, allocations: 23.91 kB / 0.7875 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.2031, allocations: 39.78 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.2033, allocations: 147.6 kB / 0.7877 GB, free: 256 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2033, allocations: 0 / 0.7877 GB, free: 256 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2033, allocations: 0 / 0.7877 GB, free: 256 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2033, allocations: 0 / 0.7877 GB, free: 256 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.3227/0.526, allocations: 461.1 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.526, allocations: 8.969 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.5261, allocations: 8.281 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.5263, allocations: 180.1 kB / 0.7883 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.5263, allocations: 8.844 kB / 0.7883 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.5264, allocations: 5.391 kB / 0.7883 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.5266, allocations: 74.81 kB / 0.7884 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.5266, allocations: 3.844 kB / 0.7884 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5266, allocations: 3.938 kB / 0.7884 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5267, allocations: 2.531 kB / 0.7884 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.5268, allocations: 44.83 kB / 0.7884 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.5274, allocations: 313.7 kB / 0.7887 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5276, allocations: 69.55 kB / 0.7888 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.5277, allocations: 35.86 kB / 0.7888 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.5277, allocations: 4.141 kB / 0.7888 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.5279, allocations: 99.02 kB / 0.7889 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.5279, allocations: 1.375 kB / 0.7889 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003867/0.5283, allocations: 153.4 kB / 0.7891 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.5283, allocations: 56.09 kB / 0.7891 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.5284, allocations: 131.7 kB / 0.7893 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.5285, allocations: 28.33 kB / 0.7893 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.5285, allocations: 92.78 kB / 0.7894 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.5285, allocations: 23.03 kB / 0.7894 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.5286, allocations: 32.12 kB / 0.7894 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.5286, allocations: 322.7 kB / 0.7897 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.5287, allocations: 28.11 kB / 0.7898 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.5288, allocations: 69.91 kB / 0.7898 GB, free: 48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.529, allocations: 103.6 kB / 0.7899 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.529, allocations: 4.812 kB / 0.7899 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002149/0.5292, allocations: 126.9 kB / 0.79 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5292, allocations: 7.281 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5292, allocations: 4.812 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5293, allocations: 2.344 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5294, allocations: 16.28 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5294, allocations: 6.969 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.5295, allocations: 19.08 kB / 0.7901 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5295, allocations: 11.19 kB / 0.7901 GB, free: 47.91 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.081e-05/0.5296, allocations: 124.7 kB / 0.7902 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.5296, allocations: 6.281 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.5299, allocations: 147.6 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5299, allocations: 6.453 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5299, allocations: 1.375 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.53, allocations: 88.55 kB / 0.7905 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.53, allocations: 3.812 kB / 0.7905 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.5301, allocations: 9.391 kB / 0.7905 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5301, allocations: 16.25 kB / 0.7905 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003026/0.5305, allocations: 217.9 kB / 0.7907 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002625/0.5307, allocations: 303.4 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.196e-05/0.5308, allocations: 49.02 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.5309, allocations: 98.17 kB / 0.7911 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of Backend: time 5.61e-07/0.5309, allocations: 0.5938 kB / 0.7911 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006992/0.5316, allocations: 190.6 kB / 0.7913 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004412/0.5321, allocations: 0.6298 MB / 0.7919 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.004272/0.5363, allocations: 1.811 MB / 0.7937 GB, free: 46.54 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)