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.001332/0.001332, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001339/0.001339, allocations: 191 kB / 17.29 MB, free: 5.516 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.374/1.374, 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.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001423/0.001423, allocations: 75.03 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003635/0.2396, allocations: 1.485 MB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2413, allocations: 0.7799 MB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.2414, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.2415, allocations: 3.938 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.2416, allocations: 15.84 kB / 0.787 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.0009288/0.2425, allocations: 119.6 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.2428, allocations: 71.83 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2429, allocations: 12 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2431, allocations: 43.77 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.2432, allocations: 31.91 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.2432, allocations: 8 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.2435, allocations: 91.91 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.2436, allocations: 23.91 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.2437, allocations: 31.86 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.2441, allocations: 143.5 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2441, allocations: 4 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2441, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2441, 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.4204/0.6645, allocations: 410.8 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.6645, allocations: 12.81 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.6646, allocations: 8.844 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.6647, allocations: 175.5 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.6648, allocations: 5.375 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.6648, allocations: 6.875 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.6651, allocations: 78.8 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6651, allocations: 3.938 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.6651, allocations: 3.938 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6651, allocations: 0 / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.6653, allocations: 34.3 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.666, allocations: 313.1 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.6661, allocations: 58.34 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.6662, allocations: 36.14 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.6662, allocations: 0 / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.6665, allocations: 78.91 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.6665, allocations: 1.594 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004003/0.6669, allocations: 129.6 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.667, allocations: 59.97 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.667, allocations: 129.8 kB / 0.789 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.6671, allocations: 30.7 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.6671, allocations: 89.77 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.6671, allocations: 16.05 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.6672, allocations: 28.66 kB / 0.7892 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.6672, allocations: 321.5 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.6673, allocations: 32.03 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.6674, allocations: 49.67 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.6675, allocations: 73.27 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6675, allocations: 0 / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001968/0.6677, allocations: 117.2 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6678, allocations: 5.438 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.6678, allocations: 0 / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6678, allocations: 3.219 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.6679, allocations: 15.44 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6679, allocations: 0 / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.668, allocations: 10.31 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.668, allocations: 2.812 kB / 0.7898 GB, free: 47.52 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.522e-05/0.6681, allocations: 127 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.6681, allocations: 10.75 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.6681, allocations: 6.938 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6681, allocations: 2.844 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.6681, allocations: 5.578 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6681, allocations: 2.625 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.6685, allocations: 376.4 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6685, allocations: 2.625 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.6685, allocations: 10.84 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6686, allocations: 0 / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6686, allocations: 5.375 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6686, allocations: 0 / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6686, allocations: 1.656 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.6688, allocations: 215.8 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.6689, allocations: 86.22 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.6689, allocations: 1.281 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.669, allocations: 6.141 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.669, allocations: 11.53 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.6691, allocations: 2.625 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.6691, allocations: 101.1 kB / 0.7907 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.182e-06/0.6691, allocations: 0 / 0.7907 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003144/0.6694, allocations: 40.98 kB / 0.7908 GB, free: 46.79 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003553/0.6698, allocations: 161.1 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.67, allocations: 70.86 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.67, allocations: 0 / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.6701, allocations: 38.03 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.6704, allocations: 9.578 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.6708, allocations: 181.1 kB / 0.7912 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.6709, allocations: 0.6901 MB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.671, allocations: 9.906 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.671, allocations: 13.58 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.671, allocations: 2.188 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.003857/0.6749, allocations: 1.447 MB / 0.7933 GB, free: 45.82 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)