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.001159/0.001159, allocations: 109 kB / 16.37 MB, free: 6.477 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.001068/0.001068, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.348/1.348, allocations: 205.1 MB / 223.2 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.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001471/0.001471, allocations: 68.12 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2524, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002673/0.2551, allocations: 1.511 MB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2563, allocations: 0.7643 MB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.2563, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2564, allocations: 7.875 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.2564, allocations: 15.88 kB / 0.787 GB, free: 0.8516 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.0005344/0.257, allocations: 123.6 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2571, allocations: 79.75 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.816e-05/0.2572, allocations: 8 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.2573, allocations: 39.84 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.2573, allocations: 39.83 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2574, allocations: 4 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.2576, allocations: 99.91 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.2576, allocations: 15.98 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.2576, allocations: 35.8 kB / 0.7875 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2579, allocations: 139.5 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2579, allocations: 0 / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2579, allocations: 0 / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2579, allocations: 0 / 0.7876 GB, free: 284 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.4543/0.7122, allocations: 414.8 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.7123, allocations: 10.28 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.7124, allocations: 9.844 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.7125, allocations: 175.7 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.7125, allocations: 3 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.7126, allocations: 8.344 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.7128, allocations: 68.55 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7128, allocations: 0 / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7128, allocations: 7.219 kB / 0.7883 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.7128, allocations: 0 / 0.7883 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.713, allocations: 39.75 kB / 0.7883 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.7136, allocations: 313.5 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.7137, allocations: 55.23 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.7138, allocations: 32.67 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.7138, allocations: 4.359 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.7141, allocations: 77.56 kB / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.7141, allocations: 0 / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003736/0.7145, allocations: 137.2 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.7145, allocations: 56.56 kB / 0.7889 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.7146, allocations: 133.1 kB / 0.7891 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.7146, allocations: 30.27 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.7147, allocations: 87.47 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.7147, allocations: 17.12 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.7148, allocations: 29.81 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.7148, allocations: 323 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.7149, allocations: 27.98 kB / 0.7896 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.715, allocations: 50.83 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.7151, allocations: 73.47 kB / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7151, allocations: 0 / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002045/0.7153, allocations: 117.1 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7154, allocations: 6.188 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7154, allocations: 3.094 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7154, allocations: 4.312 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.7155, allocations: 12.14 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7155, allocations: 4.031 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.7156, allocations: 3.156 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.7156, allocations: 2.625 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 7.2e-05/0.7157, allocations: 132.7 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.7157, allocations: 8.844 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.7157, allocations: 11.47 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7157, allocations: 0 / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7157, allocations: 0 / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7158, allocations: 3.172 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.7161, allocations: 379.5 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.7162, allocations: 0.5 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.7162, allocations: 9.078 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7162, allocations: 1.719 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.7162, allocations: 3.188 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7162, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.7163, allocations: 2 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.7166, allocations: 221.7 kB / 0.7906 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.7166, allocations: 84.73 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.7166, allocations: 3 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7168, allocations: 2.625 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.7168, allocations: 14.95 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.7169, allocations: 8.672 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.7169, allocations: 91.42 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.192e-06/0.7169, allocations: 0.5938 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003217/0.7172, allocations: 44.66 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.0003343/0.7176, allocations: 155.4 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.7178, allocations: 75.53 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7179, allocations: 0 / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.718, allocations: 35.2 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.000268/0.7182, allocations: 7.594 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.7186, allocations: 209.5 kB / 0.7913 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.7188, allocations: 0.688 MB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.7188, allocations: 14.58 kB / 0.7919 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7188, allocations: 0 / 0.7919 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.003358/0.7222, allocations: 1.621 MB / 0.7935 GB, free: 45.87 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)