Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 117.8 kB / 16.38 MB, free: 6.008 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.001149/0.001149, allocations: 186.6 kB / 17.31 MB, free: 5.621 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.322/1.322, 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.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001461/0.001462, allocations: 68.11 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1921, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002588/0.1948, allocations: 1.51 MB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.196, allocations: 0.7683 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.1961, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.1961, allocations: 3.938 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.1962, allocations: 15.86 kB / 0.787 GB, free: 0.8594 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.0005271/0.1967, allocations: 118.4 kB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1968, allocations: 79.75 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.1969, allocations: 12 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.197, allocations: 39.84 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.1971, allocations: 39.83 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1971, allocations: 4 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1973, allocations: 99.84 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.1973, allocations: 15.98 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.1974, allocations: 35.8 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1976, allocations: 139.5 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1976, allocations: 4 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1976, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1976, allocations: 0 / 0.7876 GB, free: 292 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.328/0.5256, allocations: 416.6 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.5257, allocations: 8.875 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.5257, allocations: 8.25 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.5258, allocations: 177.3 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.5259, allocations: 2.375 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.5259, allocations: 8.938 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.5261, allocations: 68.66 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.5261, allocations: 0.625 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5262, allocations: 10.72 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5262, allocations: 2.625 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.5263, allocations: 35.28 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.5269, allocations: 312.7 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.527, allocations: 52.19 kB / 0.7887 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.5271, allocations: 36.27 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.5271, allocations: 0 / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.5273, allocations: 77.3 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.5273, allocations: 1.938 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003641/0.5277, allocations: 139 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.5277, allocations: 51.41 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.5278, allocations: 131.9 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.5278, allocations: 29.14 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.5278, allocations: 92.61 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.5278, allocations: 14.47 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.5279, allocations: 30.28 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.5279, allocations: 319.5 kB / 0.7895 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.528, allocations: 25.5 kB / 0.7896 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.5281, allocations: 50.22 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.5283, allocations: 82.39 kB / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5283, allocations: 0 / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002206/0.5285, allocations: 113.3 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5285, allocations: 5.438 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5285, allocations: 0 / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5286, allocations: 3.25 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.5287, allocations: 15.02 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5287, allocations: 3.672 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.5287, allocations: 9.453 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.5288, allocations: 3.688 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.182e-05/0.5288, allocations: 122.5 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.5289, allocations: 9.031 kB / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.5289, allocations: 13.09 kB / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5289, allocations: 0 / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5289, allocations: 3.688 kB / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.5289, allocations: 81.58 kB / 0.7901 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.5289, allocations: 5.203 kB / 0.7901 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.529, allocations: 7.5 kB / 0.7901 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.5291, allocations: 9.125 kB / 0.7901 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002523/0.5293, allocations: 196.6 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002612/0.5296, allocations: 278.1 kB / 0.7905 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.247e-05/0.5297, allocations: 33.8 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.5297, allocations: 92.66 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Backend: time 1.002e-06/0.5297, allocations: 1.062 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006393/0.5304, allocations: 185.8 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003428/0.5307, allocations: 0.6093 MB / 0.7914 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.003588/0.5343, allocations: 1.502 MB / 0.7929 GB, free: 46.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)