Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009159/0.009159, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001117/0.001117, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.823/1.823, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.266/2.266, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008336/0.0008338, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6294, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.8682, allocations: 126.5 MB / 0.8069 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.8685, allocations: 83.94 kB / 0.807 GB, free: 15.73 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 FrontEnd - DAE generated: time 0.01286/0.8814, allocations: 2.944 MB / 0.8098 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.23e-06/0.8815, allocations: 0 / 0.8098 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.8815, allocations: 4 kB / 0.8098 GB, free: 12.77 MB / 0.6355 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.0006426/0.8821, allocations: 416.8 kB / 0.8102 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.8822, allocations: 8.031 kB / 0.8102 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.8822, allocations: 11.86 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.8824, allocations: 175 kB / 0.8104 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.8824, allocations: 3.984 kB / 0.8104 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.8825, allocations: 8 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.8827, allocations: 73.64 kB / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.454e-06/0.8827, allocations: 4 kB / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.8828, allocations: 0 / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.8828, allocations: 0 / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.883, allocations: 43.91 kB / 0.8105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.8837, allocations: 319.2 kB / 0.8108 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.8839, allocations: 50.5 kB / 0.8109 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.8839, allocations: 8 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.8841, allocations: 79.44 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.481e-06/0.8842, allocations: 0 / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000524/0.8847, allocations: 153.8 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.8848, allocations: 55.41 kB / 0.8112 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.8849, allocations: 116.9 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.8849, allocations: 25.7 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.885, allocations: 96.27 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.8851, allocations: 11.81 kB / 0.8114 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-06/0.8851, allocations: 4 kB / 0.8114 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.8852, allocations: 322.8 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.8854, allocations: 27.98 kB / 0.8118 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.8855, allocations: 50.98 kB / 0.8118 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.8857, allocations: 47.98 kB / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-06/0.8857, allocations: 0 / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003426/0.886, allocations: 113.5 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8861, allocations: 7.984 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8861, allocations: 0 / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8861, allocations: 4 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.8862, allocations: 12.06 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8863, allocations: 3.953 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.684e-05/0.8864, allocations: 15.98 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.8864, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.8865, allocations: 121.8 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.8866, allocations: 3.906 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.8866, allocations: 16.36 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-06/0.8866, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-06/0.8866, allocations: 4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-06/0.8867, allocations: 3.953 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.8873, allocations: 386.5 kB / 0.8125 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-06/0.8873, allocations: 0 / 0.8125 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.026e-05/0.8874, allocations: 7.938 kB / 0.8125 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-06/0.8874, allocations: 0 / 0.8125 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.8875, allocations: 7.984 kB / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.8875, allocations: 7.891 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.739e-06/0.8875, allocations: 4 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.8879, allocations: 203.4 kB / 0.8127 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.888, allocations: 85.02 kB / 0.8128 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.888, allocations: 11.98 kB / 0.8128 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.8881, allocations: 4 kB / 0.8128 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.8882, allocations: 11.94 kB / 0.8128 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.8882, allocations: 3.938 kB / 0.8128 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.95e-05/0.8883, allocations: 99.42 kB / 0.8129 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.5e-07/0.8883, allocations: 0 / 0.8129 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004311/0.8888, allocations: 47.94 kB / 0.813 GB, free: 9.203 MB / 0.6355 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,occ.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004779/0.8892, allocations: 178.4 kB / 0.8132 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.8896, allocations: 72.19 kB / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8896, allocations: 128 / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.8898, allocations: 52.06 kB / 0.8133 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.89, allocations: 7.984 kB / 0.8133 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.8905, allocations: 201.1 kB / 0.8135 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.8908, allocations: 0.6926 MB / 0.8141 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.216e-05/0.8909, allocations: 4.188 kB / 0.8142 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.8909, allocations: 11.42 kB / 0.8142 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of SimCode: time 1.562e-06/0.891, allocations: 4 kB / 0.8142 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of Templates: time 0.00534/0.8963, allocations: 1.517 MB / 0.8156 GB, free: 6.426 MB / 0.6355 GB