Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, 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.001075/0.001075, 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.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.7 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.001573/0.001574, allocations: 67.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2028, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002457/0.2053, allocations: 1.489 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2065, allocations: 0.7721 MB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2066, allocations: 0 / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2066, allocations: 3.938 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.2067, 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.0005231/0.2072, allocations: 127.5 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.861e-05/0.2073, allocations: 71.84 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.2074, allocations: 19.97 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.2075, allocations: 39.8 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.2076, allocations: 31.89 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2076, allocations: 8 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.2078, allocations: 95.86 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.2078, allocations: 23.89 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.2079, allocations: 27.86 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.2081, allocations: 139.6 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2081, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2081, allocations: 4 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.2081, 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.3207/0.5288, allocations: 411.5 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5288, allocations: 12.31 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.5289, allocations: 10.8 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.529, allocations: 173.1 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.529, allocations: 2.781 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.529, allocations: 13.17 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.5292, allocations: 67.06 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5292, allocations: 0 / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.5293, allocations: 6.703 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.5293, allocations: 6.594 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.5294, allocations: 37.3 kB / 0.7883 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.5299, allocations: 314.8 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.53, allocations: 54.17 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.5301, allocations: 29.81 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5301, allocations: 6.188 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.5303, allocations: 78.78 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.5303, allocations: 0 / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003488/0.5307, allocations: 137.6 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.5307, allocations: 56.19 kB / 0.7889 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.5308, allocations: 128.8 kB / 0.789 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.5308, allocations: 26.7 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.5308, allocations: 92.97 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.5309, allocations: 16 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.5309, allocations: 24.94 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.5309, allocations: 324.7 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.531, allocations: 25.86 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.5311, allocations: 56.22 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.5313, allocations: 76.36 kB / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5313, allocations: 0 / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001946/0.5315, allocations: 110 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.5315, allocations: 5.344 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5315, allocations: 2.719 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5315, allocations: 0.6562 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.5316, allocations: 16.22 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5316, allocations: 3.281 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.5317, allocations: 7.062 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.5317, allocations: 6.5 kB / 0.7898 GB, free: 47.64 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.954e-05/0.5318, allocations: 126.6 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.5318, allocations: 6.656 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.5318, allocations: 10.09 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.5318, allocations: 6.672 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5318, allocations: 0 / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5318, allocations: 0 / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.5322, allocations: 382.9 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5322, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.5322, allocations: 6.625 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5322, allocations: 1.125 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5322, allocations: 4.031 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5322, allocations: 4.531 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5323, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.5325, allocations: 219.6 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.5325, allocations: 81.02 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.5325, allocations: 3.656 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.5326, allocations: 6.469 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.5327, allocations: 9.984 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.5327, allocations: 2.625 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.5327, allocations: 94.3 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5327, allocations: 0.625 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002969/0.533, allocations: 37.59 kB / 0.7908 GB, free: 46.91 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.0002685/0.5333, allocations: 164.7 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.5335, allocations: 72.27 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5335, allocations: 2.406 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.5336, allocations: 37.17 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5339, allocations: 11.31 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.5342, allocations: 183.8 kB / 0.7912 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.074e-05/0.5343, allocations: 0.6936 MB / 0.7919 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.5343, allocations: 2.625 kB / 0.7919 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.5344, allocations: 13.53 kB / 0.7919 GB, free: 46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.5344, allocations: 0 / 0.7919 GB, free: 46 MB / 0.6544 GB Notification: Performance of Templates: time 0.003336/0.5377, allocations: 1.45 MB / 0.7933 GB, free: 45.94 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)