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.001293/0.001293, allocations: 103.2 kB / 16.36 MB, free: 6.301 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.001322/0.001322, allocations: 191 kB / 17.29 MB, free: 5.875 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001441/0.001441, allocations: 68.38 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2697, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.004021/0.2738, allocations: 1.496 MB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2758, allocations: 0.7721 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.2758, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.2759, allocations: 7.875 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.276, allocations: 3.938 kB / 0.787 GB, free: 0.8672 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.000743/0.2767, allocations: 138.5 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2769, allocations: 83.69 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.277, allocations: 8 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2772, allocations: 31.91 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.2773, allocations: 35.89 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.2773, allocations: 8 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.2776, allocations: 103.8 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.2776, allocations: 15.98 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.2777, allocations: 27.86 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.278, allocations: 143.6 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.278, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.278, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.278, allocations: 0 / 0.7876 GB, free: 292 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.4499/0.7279, allocations: 418.6 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.728, allocations: 9.5 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.728, allocations: 12.47 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.231e-05/0.7281, allocations: 174.7 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.7282, allocations: 5.281 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7282, allocations: 6.969 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.7284, allocations: 70 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7284, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7285, allocations: 9.969 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7285, allocations: 3.531 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.7286, allocations: 33.88 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.7292, allocations: 314.5 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7293, allocations: 52.56 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.7294, allocations: 38.31 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.7294, allocations: 0 / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.7296, allocations: 78.38 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.7296, allocations: 2.625 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003818/0.73, allocations: 135.2 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.7301, allocations: 54.03 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.7302, allocations: 132.7 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.7302, allocations: 29.64 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.7302, allocations: 87.17 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.7302, allocations: 17.91 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.7303, allocations: 32.28 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.7303, allocations: 321.2 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.7304, allocations: 24.06 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.7305, allocations: 52.95 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.7306, allocations: 72.36 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7307, allocations: 0 / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002002/0.7309, allocations: 119.4 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7309, allocations: 7.938 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7309, allocations: 2.625 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7309, allocations: 0 / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.731, allocations: 12.05 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.731, allocations: 6.016 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.7311, allocations: 5.438 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.7311, allocations: 16.28 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 6.788e-05/0.7312, allocations: 122 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.7312, allocations: 9.156 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.7312, allocations: 7.875 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7312, allocations: 5.812 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7313, allocations: 0 / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7313, allocations: 1.781 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.7316, allocations: 382 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7316, allocations: 0.5 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.7317, allocations: 4.094 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7317, allocations: 0.625 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7317, allocations: 4.016 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7317, allocations: 2.719 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.7317, allocations: 0 / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.732, allocations: 215.4 kB / 0.7905 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.732, allocations: 87.03 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.732, allocations: 2.875 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.7321, allocations: 3.375 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.7321, allocations: 10.86 kB / 0.7906 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.7322, allocations: 7.844 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.7322, allocations: 93.05 kB / 0.7907 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7322, allocations: 1 kB / 0.7907 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003225/0.7325, allocations: 41.69 kB / 0.7908 GB, free: 46.76 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.0003332/0.7329, allocations: 156.5 kB / 0.7909 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.7331, allocations: 77.09 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7331, allocations: 0.5312 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.7332, allocations: 37.45 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.7335, allocations: 13.36 kB / 0.7911 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.734, allocations: 205.3 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.7342, allocations: 0.6891 MB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.7342, allocations: 14.39 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.7342, allocations: 3.531 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.003497/0.7377, allocations: 1.618 MB / 0.7935 GB, free: 45.71 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)