Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 100.7 kB / 16.27 MB, free: 6.422 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.001717/0.001717, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.529/1.529, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.885/1.885, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001491/0.001491, allocations: 67.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2681, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003243/0.2714, allocations: 1.499 MB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.2733, allocations: 0.776 MB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.2734, allocations: 0 / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.2735, allocations: 3.938 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.2735, allocations: 7.875 kB / 0.7863 GB, free: 1.578 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.000815/0.2744, allocations: 127.6 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2745, allocations: 71.77 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2746, allocations: 23.92 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2748, allocations: 31.86 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.2748, allocations: 35.89 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.2749, allocations: 11.98 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2751, allocations: 91.86 kB / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.2751, allocations: 23.91 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.2752, allocations: 27.86 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.2755, allocations: 143.9 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.2755, allocations: 0 / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2755, allocations: 0 / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2755, allocations: 4 kB / 0.7868 GB, free: 0.9961 MB / 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.0008819/0.2764, allocations: 417 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.2765, allocations: 8.031 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.2765, allocations: 8.844 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2767, allocations: 176.2 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.2768, allocations: 384 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2768, allocations: 12.31 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.277, allocations: 77.91 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2771, allocations: 0 / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2771, allocations: 0 / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.2771, allocations: 3.984 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.2772, allocations: 35.98 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4323/0.7096, allocations: 309.2 kB / 0.7878 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.7098, allocations: 51.16 kB / 0.7879 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/0.7099, allocations: 32.56 kB / 0.7879 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.7099, allocations: 0.5938 kB / 0.7879 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.7102, allocations: 78.22 kB / 0.788 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.7102, allocations: 0 / 0.788 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003896/0.7106, allocations: 143.6 kB / 0.7881 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7106, allocations: 55.94 kB / 0.7882 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.7107, allocations: 119.7 kB / 0.7883 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.7107, allocations: 29.61 kB / 0.7883 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.7108, allocations: 91.91 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.7108, allocations: 18.89 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.7108, allocations: 28.52 kB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.7109, allocations: 322.4 kB / 0.7888 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.711, allocations: 21.84 kB / 0.7888 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.7111, allocations: 51.77 kB / 0.7888 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.7112, allocations: 73.08 kB / 0.7889 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7112, allocations: 4.406 kB / 0.7889 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002033/0.7114, allocations: 117.3 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7115, allocations: 10.78 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7115, allocations: 3.25 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7115, allocations: 0.5312 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.7116, allocations: 18.83 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7116, allocations: 2.438 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.7117, allocations: 13.19 kB / 0.7891 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.7117, allocations: 3 kB / 0.7891 GB, free: 45.55 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 7.674e-05/0.7118, allocations: 125.5 kB / 0.7892 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.7118, allocations: 9 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.7118, allocations: 8.625 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.7118, allocations: 2.844 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7119, allocations: 0 / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7119, allocations: 0 / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.7122, allocations: 378 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7122, allocations: 3.062 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.7123, allocations: 6.766 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7123, allocations: 3.281 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.7123, allocations: 1.312 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7123, allocations: 3.312 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7123, allocations: 0.7188 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.7126, allocations: 213.8 kB / 0.7898 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.7126, allocations: 84.36 kB / 0.7899 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.7126, allocations: 4.75 kB / 0.7899 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.7127, allocations: 4.312 kB / 0.7899 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.7128, allocations: 8.391 kB / 0.7899 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.7128, allocations: 3.125 kB / 0.7899 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.7128, allocations: 90.83 kB / 0.79 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7128, allocations: 0.875 kB / 0.79 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003189/0.7131, allocations: 47.94 kB / 0.79 GB, free: 44.83 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.0003402/0.7135, allocations: 156.2 kB / 0.7902 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.7137, allocations: 81.7 kB / 0.7902 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7138, allocations: 0 / 0.7902 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.7139, allocations: 40.73 kB / 0.7903 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.7141, allocations: 5.812 kB / 0.7903 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.7146, allocations: 213.1 kB / 0.7905 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.7147, allocations: 0.688 MB / 0.7912 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.7147, allocations: 11.09 kB / 0.7912 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7147, allocations: 1.906 kB / 0.7912 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003823/0.7186, allocations: 1.619 MB / 0.7928 GB, free: 43.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)