Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 113.8 kB / 16.37 MB, free: 5.535 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.001206/0.001206, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.382/1.382, 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.889/1.889, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001428/0.001428, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2485, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003074/0.2516, allocations: 1.5 MB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2531, allocations: 0.7683 MB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.2531, allocations: 3.938 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.2532, allocations: 3.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.2532, allocations: 11.86 kB / 0.787 GB, free: 0.8438 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.0006192/0.2539, allocations: 123.6 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.254, allocations: 79.75 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2541, allocations: 12 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.2542, allocations: 35.91 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.2543, allocations: 39.83 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2543, allocations: 8 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.2545, allocations: 95.84 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.2545, allocations: 15.98 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.2546, allocations: 31.8 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.2548, allocations: 143.5 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2549, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2549, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.2549, allocations: 0 / 0.7876 GB, free: 276 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.4117/0.6665, allocations: 422.3 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6666, allocations: 8.062 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.6667, allocations: 8.375 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.6668, allocations: 173.9 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.6668, allocations: 4.156 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.6669, allocations: 7.531 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.6671, allocations: 67.83 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.6671, allocations: 0 / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.6671, allocations: 7.969 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.6671, allocations: 0 / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.6673, allocations: 41.88 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.6678, allocations: 309.8 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.668, allocations: 56.19 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.6681, allocations: 29.47 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6681, allocations: 4.922 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.6683, allocations: 81.2 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.6683, allocations: 0 / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003822/0.6687, allocations: 133.5 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.6688, allocations: 59.53 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.6689, allocations: 131.2 kB / 0.7891 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6689, allocations: 28.89 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.6689, allocations: 89.67 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.669, allocations: 14.06 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.669, allocations: 34.61 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.6691, allocations: 322 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.6692, allocations: 24.98 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.6692, allocations: 52.44 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.6694, allocations: 73.67 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6694, allocations: 2.625 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002066/0.6696, allocations: 114.2 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6696, allocations: 8.266 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6697, allocations: 2.562 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6697, allocations: 2.875 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.6698, allocations: 18.66 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6698, allocations: 2.375 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.6699, allocations: 2.562 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.6699, allocations: 2.906 kB / 0.7898 GB, free: 47.44 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.97e-05/0.67, allocations: 129.6 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.67, allocations: 6.906 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.67, allocations: 11.06 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.67, allocations: 2.875 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.67, allocations: 0 / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6701, allocations: 0.5469 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.6705, allocations: 386 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6705, allocations: 0 / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.6705, allocations: 2.562 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6705, allocations: 0.5469 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6705, allocations: 7.266 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6705, allocations: 3.844 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6706, allocations: 0 / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.6708, allocations: 215.8 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.6708, allocations: 85.94 kB / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.6709, allocations: 3.406 kB / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.671, allocations: 6.734 kB / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.671, allocations: 9.609 kB / 0.7907 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.671, allocations: 4 kB / 0.7907 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.6711, allocations: 90.36 kB / 0.7907 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6711, allocations: 0 / 0.7907 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003156/0.6714, allocations: 40.23 kB / 0.7908 GB, free: 46.7 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.0003474/0.6717, allocations: 171.1 kB / 0.7909 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.672, allocations: 73.06 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.672, allocations: 2.625 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.6721, allocations: 34.3 kB / 0.7911 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.6724, allocations: 12.12 kB / 0.7911 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.6728, allocations: 203 kB / 0.7913 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.6729, allocations: 0.6885 MB / 0.7919 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.673, allocations: 14.84 kB / 0.7919 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.673, allocations: 0 / 0.7919 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.003165/0.6761, allocations: 1.617 MB / 0.7935 GB, free: 45.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)