Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 106.4 kB / 16.37 MB, free: 6.004 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.001726/0.001727, allocations: 194.9 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.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.856/1.856, allocations: 292.3 MB / 0.5496 GB, free: 17.71 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.001469/0.00147, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1944, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00253/0.1969, allocations: 1.5 MB / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1982, allocations: 0.7682 MB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.1982, allocations: 4 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.1983, allocations: 3.938 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.1984, allocations: 11.86 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.0005484/0.1989, allocations: 119.6 kB / 0.7872 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.199, allocations: 79.81 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1991, allocations: 19.98 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.1992, allocations: 35.8 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.1993, allocations: 35.89 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1993, allocations: 8 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1995, allocations: 95.84 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.1995, allocations: 19.92 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.1996, allocations: 27.86 kB / 0.7875 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1998, allocations: 135.6 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.1998, allocations: 7.984 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1998, allocations: 4 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1998, allocations: 0 / 0.7876 GB, free: 312 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.3288/0.5286, allocations: 409.7 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5287, allocations: 9.719 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.5287, allocations: 12.12 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.5288, allocations: 174.3 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.5288, allocations: 2.531 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.5289, allocations: 10.72 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.529, allocations: 70.83 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5291, allocations: 0 / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5291, allocations: 4.938 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5291, allocations: 4.312 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.5292, allocations: 41.02 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.5297, allocations: 311.4 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5299, allocations: 53.34 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.5299, allocations: 33.78 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.53, allocations: 0 / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.5301, allocations: 82.34 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5301, allocations: 0 / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003484/0.5305, allocations: 136.5 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.5305, allocations: 57.17 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.5306, allocations: 125.8 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5306, allocations: 33.3 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.5307, allocations: 88.23 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.5307, allocations: 14.84 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.5307, allocations: 28.84 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.5308, allocations: 321.4 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.5309, allocations: 26.03 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.5309, allocations: 48.19 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.5311, allocations: 80.05 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5311, allocations: 7.906 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.5313, allocations: 113.9 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5314, allocations: 5.875 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5314, allocations: 0 / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5314, allocations: 2.625 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.5315, allocations: 16.33 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5315, allocations: 0 / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.5316, allocations: 13.55 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.5316, allocations: 2.625 kB / 0.7898 GB, free: 47.53 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.551e-05/0.5317, allocations: 128.3 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.5317, allocations: 6.531 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.5317, allocations: 13.58 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5317, allocations: 0 / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5317, allocations: 0 / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.5317, allocations: 87.47 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5318, allocations: 3.547 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.5318, allocations: 5.391 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.5319, allocations: 13.41 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002446/0.5321, allocations: 188.2 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002308/0.5324, allocations: 283.5 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.268e-05/0.5325, allocations: 34.39 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.5325, allocations: 93.67 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.5325, allocations: 1.281 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.5331, allocations: 179.9 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003351/0.5335, allocations: 0.6165 MB / 0.7914 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.003651/0.5372, allocations: 1.502 MB / 0.7929 GB, free: 46.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)