Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 103.7 kB / 16.36 MB, free: 6.352 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.001129/0.001129, allocations: 190.4 kB / 17.3 MB, free: 5.891 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.389/1.389, 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.838/1.838, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001463/0.001464, allocations: 75.17 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2592, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003397/0.2627, allocations: 1.507 MB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2641, allocations: 0.7682 MB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.2641, allocations: 4 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.2642, allocations: 3.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.2643, allocations: 19.84 kB / 0.787 GB, free: 0.8359 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.0005938/0.2649, allocations: 115.6 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.265, allocations: 79.77 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2651, allocations: 11.94 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.2652, allocations: 47.83 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.2653, allocations: 27.91 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2653, allocations: 8 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.2655, allocations: 99.84 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2655, allocations: 15.92 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.2656, allocations: 31.84 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.2658, allocations: 139.6 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2658, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2658, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2659, allocations: 3.984 kB / 0.7876 GB, free: 272 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.4492/0.7151, allocations: 415.7 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7152, allocations: 13.16 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.7152, allocations: 9.094 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.7153, allocations: 173.3 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.7154, allocations: 5.406 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.7154, allocations: 4.984 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.7156, allocations: 69.02 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7156, allocations: 0 / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.7157, allocations: 7.312 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7157, allocations: 2.625 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.7158, allocations: 43.67 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.7164, allocations: 314.7 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.7166, allocations: 53.48 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.7167, allocations: 31.17 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.7167, allocations: 1.172 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.7169, allocations: 83.31 kB / 0.7888 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.7169, allocations: 0 / 0.7888 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000373/0.7173, allocations: 133.9 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.7173, allocations: 58 kB / 0.7889 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.7174, allocations: 129 kB / 0.7891 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.7175, allocations: 27.27 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.7175, allocations: 91.02 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.7175, allocations: 17.33 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.7176, allocations: 26.11 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.7176, allocations: 324.4 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.7177, allocations: 28.48 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.7178, allocations: 47.31 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.718, allocations: 70.12 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.718, allocations: 2.625 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002148/0.7182, allocations: 121.3 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7183, allocations: 6 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7183, allocations: 0 / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.7183, allocations: 2.625 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.7184, allocations: 11.55 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7184, allocations: 0 / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.7185, allocations: 8.5 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.7185, allocations: 3.125 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 7.521e-05/0.7186, allocations: 130.1 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.7186, allocations: 8.406 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.7186, allocations: 9.688 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7186, allocations: 1.266 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7186, allocations: 3.359 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7187, allocations: 5.938 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.719, allocations: 381.2 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.719, allocations: 2.625 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.7191, allocations: 6.469 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.7191, allocations: 0 / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7191, allocations: 6.594 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7191, allocations: 3.75 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7191, allocations: 1.344 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.7194, allocations: 215.7 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.7194, allocations: 83.67 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7194, allocations: 4.75 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.7195, allocations: 8.75 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.7196, allocations: 9.781 kB / 0.7907 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.7196, allocations: 3.25 kB / 0.7907 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.7196, allocations: 93.36 kB / 0.7907 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7196, allocations: 0 / 0.7907 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003153/0.72, allocations: 42.55 kB / 0.7908 GB, free: 46.78 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.0003436/0.7203, allocations: 160.1 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.7205, allocations: 68.69 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7206, allocations: 1 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.7207, allocations: 39.89 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.000255/0.7209, allocations: 6.312 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.0003845/0.7213, allocations: 208.4 kB / 0.7912 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.7214, allocations: 0.6907 MB / 0.7919 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.7215, allocations: 10.06 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7215, allocations: 0 / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.003457/0.725, allocations: 1.624 MB / 0.7935 GB, free: 45.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)