Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") 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: 102.5 kB / 16.36 MB, free: 6.309 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.001777/0.001777, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.824/1.824, allocations: 292.3 MB / 0.5496 GB, free: 17.34 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.001337/0.001337, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.191, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002492/0.1935, allocations: 1.546 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1947, allocations: 0.8071 MB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.1948, allocations: 3.938 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1948, allocations: 7.922 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.1949, allocations: 19.81 kB / 0.7871 GB, free: 0.7578 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.0005206/0.1955, allocations: 131.5 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1956, allocations: 99.69 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.1957, allocations: 8 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.1958, allocations: 55.77 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.1959, allocations: 43.77 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1959, allocations: 12 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1961, allocations: 99.84 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.1961, allocations: 19.97 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.1962, allocations: 51.72 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1964, allocations: 155.5 kB / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1964, allocations: 0 / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1964, allocations: 0 / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1964, allocations: 0 / 0.7878 GB, free: 96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.322/0.5184, allocations: 0.4956 MB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5185, allocations: 8.203 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.5186, allocations: 13.5 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.118e-05/0.5187, allocations: 182 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5187, allocations: 4.344 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.5187, allocations: 8.156 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.5189, allocations: 80.69 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5189, allocations: 0 / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5189, allocations: 8.688 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5189, allocations: 0 / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5191, allocations: 49.97 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.5195, allocations: 336.1 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.5197, allocations: 88.5 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.5198, allocations: 46.25 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.5199, allocations: 0 / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.5201, allocations: 93.05 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.5201, allocations: 0 / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003722/0.5205, allocations: 181.7 kB / 0.7893 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.5205, allocations: 57.36 kB / 0.7893 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.5206, allocations: 146.9 kB / 0.7895 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5206, allocations: 29.45 kB / 0.7895 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.5207, allocations: 98.86 kB / 0.7896 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.5207, allocations: 24.27 kB / 0.7896 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.5207, allocations: 36.3 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.5208, allocations: 320.7 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.5209, allocations: 30.73 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.5209, allocations: 71.27 kB / 0.7901 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.5211, allocations: 114.2 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5211, allocations: 3.938 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002153/0.5213, allocations: 137.2 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5214, allocations: 7.219 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5214, allocations: 3.062 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5214, allocations: 2.5 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.5215, allocations: 16.2 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5215, allocations: 6.203 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.5216, allocations: 16.17 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5216, allocations: 3.438 kB / 0.7904 GB, free: 47.32 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.404e-05/0.5217, allocations: 127.6 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.5217, allocations: 9.406 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.522, allocations: 174.1 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.522, allocations: 3.469 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5221, allocations: 6.047 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.5221, allocations: 89.8 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.5221, allocations: 0 / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.5222, allocations: 14.86 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.5223, allocations: 12.67 kB / 0.7908 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003121/0.5226, allocations: 236.8 kB / 0.791 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002697/0.5229, allocations: 332.2 kB / 0.7913 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.833e-05/0.523, allocations: 51.36 kB / 0.7914 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.523, allocations: 111 kB / 0.7915 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of Backend: time 6.91e-07/0.523, allocations: 0.5625 kB / 0.7915 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.5236, allocations: 190.2 kB / 0.7917 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000394/0.524, allocations: 0.6609 MB / 0.7923 GB, free: 46 MB / 0.6544 GB Notification: Performance of Templates: time 0.004708/0.5287, allocations: 1.948 MB / 0.7942 GB, free: 45.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)