Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 110.2 kB / 16.37 MB, free: 6.262 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.001155/0.001155, allocations: 192.8 kB / 17.3 MB, free: 5.848 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.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001429/0.001429, allocations: 59.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1914, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002497/0.1939, allocations: 1.5 MB / 0.7863 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1951, allocations: 0.7681 MB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.1952, allocations: 3.938 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.1952, allocations: 7.922 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.1953, allocations: 15.88 kB / 0.787 GB, free: 0.8711 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.000533/0.1958, allocations: 127.6 kB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1959, allocations: 67.84 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.196, allocations: 11.98 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.1961, allocations: 39.84 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.1962, allocations: 35.89 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1962, allocations: 4 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.1964, allocations: 103.8 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.1964, allocations: 23.91 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1965, allocations: 27.86 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1967, allocations: 139.5 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1967, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1967, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1967, allocations: 0 / 0.7876 GB, free: 308 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.329/0.5257, allocations: 416.5 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5258, allocations: 9.25 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.5258, allocations: 13.69 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.307e-05/0.5259, allocations: 171.6 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.526, allocations: 7.75 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.526, allocations: 6.844 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5262, allocations: 67.88 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5262, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5262, allocations: 7.359 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.5262, allocations: 2.594 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5264, allocations: 37.84 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.5269, allocations: 312 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.527, allocations: 53.19 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.5271, allocations: 35.64 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5271, allocations: 1.406 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.5273, allocations: 78.27 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.5273, allocations: 1.781 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003357/0.5276, allocations: 140.5 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.5277, allocations: 51.97 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.5277, allocations: 131.4 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.5277, allocations: 25.7 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.5278, allocations: 91.7 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.5278, allocations: 14.09 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.5278, allocations: 27.41 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.5279, allocations: 317.7 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.528, allocations: 32.25 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.528, allocations: 52.31 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.5282, allocations: 72.56 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5282, allocations: 0.6562 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001977/0.5284, allocations: 116.1 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5284, allocations: 5.469 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5284, allocations: 6.062 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5284, allocations: 0 / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.5285, allocations: 14.59 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5286, allocations: 4.734 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.5286, allocations: 6.156 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5286, allocations: 6.125 kB / 0.7898 GB, free: 47.49 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 5.531e-05/0.5287, allocations: 120.3 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.5287, allocations: 12.88 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.5287, allocations: 8.312 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5288, allocations: 3.375 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5288, allocations: 0 / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.5288, allocations: 89 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.5288, allocations: 5.875 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.5289, allocations: 4.188 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.5289, allocations: 16.84 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002355/0.5292, allocations: 185 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002189/0.5294, allocations: 277.9 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.083e-05/0.5295, allocations: 39.75 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.5295, allocations: 91.03 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of Backend: time 3.91e-07/0.5295, allocations: 0 / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.5301, allocations: 187.5 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003137/0.5304, allocations: 0.6118 MB / 0.7914 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.00346/0.5339, allocations: 1.497 MB / 0.7929 GB, free: 46.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)