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.009124/0.009128, allocations: 107.6 kB / 15.06 MB, free: 5.562 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.001112/0.001112, allocations: 179.3 kB / 15.94 MB, free: 5.527 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 2.025/2.025, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.303/2.303, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5694, allocations: 98.7 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003102/0.5726, allocations: 1.193 MB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.5752, allocations: 0.7012 MB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.5753, allocations: 3.938 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.5753, allocations: 1.359 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.5755, allocations: 11 kB / 0.6852 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.5763, allocations: 91.52 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.5765, allocations: 42.08 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.5767, allocations: 19.42 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.5769, allocations: 33.84 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.577, allocations: 35.67 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.5771, allocations: 3.375 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.5775, allocations: 66.55 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.5776, allocations: 18.66 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.5776, allocations: 30.92 kB / 0.6855 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.578, allocations: 95.64 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.185e-06/0.5781, allocations: 4 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.977e-06/0.5781, allocations: 1.469 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.5781, allocations: 0 / 0.6856 GB, free: 15.23 MB / 0.5261 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.0009275/0.5791, allocations: 407 kB / 0.686 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.133e-05/0.5792, allocations: 10.31 kB / 0.686 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.5793, allocations: 11.09 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5794, allocations: 175.8 kB / 0.6862 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.5795, allocations: 11.45 kB / 0.6862 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.5796, allocations: 7.938 kB / 0.6862 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.58, allocations: 66.7 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.58, allocations: 4.922 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.5801, allocations: 1.125 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-06/0.5801, allocations: 1.094 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.5805, allocations: 56.62 kB / 0.6863 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.5817, allocations: 307.2 kB / 0.6866 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.5821, allocations: 56.66 kB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.5821, allocations: 1.469 kB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.5826, allocations: 82.88 kB / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 4.603e-06/0.5826, allocations: 0 / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001012/0.5836, allocations: 153.4 kB / 0.6869 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5837, allocations: 54.31 kB / 0.687 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5839, allocations: 118.9 kB / 0.6871 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.584, allocations: 27.17 kB / 0.6871 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.5841, allocations: 98.83 kB / 0.6872 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.5841, allocations: 6.844 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.5842, allocations: 4 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.5843, allocations: 323.7 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.5845, allocations: 24.22 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.5848, allocations: 56.88 kB / 0.6876 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.5851, allocations: 47.14 kB / 0.6876 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.736e-06/0.5851, allocations: 1.125 kB / 0.6876 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006479/0.5858, allocations: 121 kB / 0.6877 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5858, allocations: 5.062 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-06/0.5859, allocations: 1.188 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5859, allocations: 5.172 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.586, allocations: 16.92 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.586, allocations: 1.062 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.471e-05/0.5861, allocations: 19.03 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.5862, allocations: 3.672 kB / 0.6878 GB, free: 13.3 MB / 0.5261 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,$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 8.141e-05/0.5863, allocations: 120.4 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.5863, allocations: 7.281 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.5863, allocations: 11.5 kB / 0.6879 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-06/0.5863, allocations: 4 kB / 0.6879 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.868e-06/0.5864, allocations: 5.391 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-06/0.5864, allocations: 0.75 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.5869, allocations: 380 kB / 0.6883 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.5869, allocations: 0.75 kB / 0.6883 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.587, allocations: 14.16 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.415e-06/0.587, allocations: 0 / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.587, allocations: 6.938 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-06/0.587, allocations: 1.562 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-06/0.5871, allocations: 0 / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.5874, allocations: 212.2 kB / 0.6885 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.5874, allocations: 84.42 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.5875, allocations: 5.188 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5876, allocations: 9.578 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.5877, allocations: 4.516 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.5877, allocations: 4.031 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.5878, allocations: 91.69 kB / 0.6887 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.87e-07/0.5878, allocations: 3.938 kB / 0.6887 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004157/0.5882, allocations: 46.38 kB / 0.6888 GB, free: 12.45 MB / 0.5261 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 (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.0003765/0.5886, allocations: 178.5 kB / 0.6889 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.5889, allocations: 70.56 kB / 0.689 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.162e-06/0.5889, allocations: 4.062 kB / 0.689 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.5891, allocations: 39.28 kB / 0.689 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.5893, allocations: 7.719 kB / 0.6891 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.5898, allocations: 203.2 kB / 0.6892 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.5899, allocations: 0.6902 MB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.011e-05/0.59, allocations: 5.5 kB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.59, allocations: 11.08 kB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/0.59, allocations: 0 / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.004995/0.595, allocations: 1.335 MB / 0.6912 GB, free: 11.29 MB / 0.5261 GB