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.01067/0.01067, allocations: 224 kB / 15.17 MB, free: 5.926 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.001136/0.001136, allocations: 181.7 kB / 16.06 MB, free: 5.828 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 3.447/3.447, allocations: 389.1 MB / 405.9 MB, free: 68.52 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.511/4.511, allocations: 472.3 MB / 0.9018 GB, free: 13.3 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005751/0.0005751, allocations: 16 kB / 1.008 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4901, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001415/0.4915, allocations: 1.196 MB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4927, allocations: 0.7 MB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.4928, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.4928, allocations: 0.6562 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.4929, allocations: 19.84 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.4933, allocations: 91.7 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.4934, allocations: 59.84 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.4935, allocations: 8.797 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.4936, allocations: 43.31 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.4937, allocations: 31.91 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4937, allocations: 0.6562 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.4939, allocations: 83.84 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.4939, allocations: 7.984 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.4939, allocations: 41.64 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.4941, allocations: 93.08 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.306e-06/0.4941, allocations: 0 / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.947e-06/0.4941, allocations: 0 / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4941, allocations: 3.906 kB / 1.106 GB, free: 181.3 MB / 0.6823 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.0004904/0.4946, allocations: 412.8 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4947, allocations: 12.03 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.4947, allocations: 11.86 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.4948, allocations: 170.9 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4949, allocations: 7.391 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4949, allocations: 8 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4951, allocations: 70.91 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4951, allocations: 0 / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4951, allocations: 5.359 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-06/0.4952, allocations: 0 / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.4953, allocations: 51.16 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.4959, allocations: 315.4 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.496, allocations: 52.38 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4962, allocations: 32.97 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.4962, allocations: 0 / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.4964, allocations: 90.2 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.474e-06/0.4964, allocations: 0 / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004475/0.4969, allocations: 158 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4969, allocations: 55.41 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.497, allocations: 115.7 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.497, allocations: 31.33 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.4971, allocations: 96.22 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.4971, allocations: 11 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-06/0.4971, allocations: 7.938 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.4972, allocations: 318.8 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.4973, allocations: 27.98 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.4974, allocations: 53.22 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.4975, allocations: 31.98 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-06/0.4976, allocations: 3.188 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000288/0.4979, allocations: 118.2 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4979, allocations: 4 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.47e-06/0.4979, allocations: 7.953 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4979, allocations: 0 / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4981, allocations: 19.42 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4981, allocations: 4 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.4982, allocations: 18.31 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4982, allocations: 8.828 kB / 1.109 GB, free: 178.8 MB / 0.6823 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 7.927e-05/0.4983, allocations: 113.8 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.4983, allocations: 10.78 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.4984, allocations: 8.375 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-06/0.4984, allocations: 3.953 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-06/0.4984, allocations: 4 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.4984, allocations: 0 / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.4989, allocations: 383.7 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-06/0.4989, allocations: 0.6875 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.499, allocations: 8.547 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.351e-06/0.499, allocations: 3.953 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.499, allocations: 8 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.017e-06/0.499, allocations: 0.9375 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.897e-06/0.4991, allocations: 0 / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.4994, allocations: 222 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.4994, allocations: 78.14 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.4995, allocations: 10.92 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4996, allocations: 15.92 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.4997, allocations: 1.172 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4997, allocations: 5 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.4997, allocations: 93.02 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.72e-07/0.4997, allocations: 0 / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003995/0.5002, allocations: 51.17 kB / 1.11 GB, free: 177.8 MB / 0.6823 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.0003618/0.5005, allocations: 168.4 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.5008, allocations: 74.28 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.947e-06/0.5009, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.501, allocations: 40.38 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5013, allocations: 8 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.5017, allocations: 197.1 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.5019, allocations: 0.6915 MB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.639e-05/0.5019, allocations: 8.172 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.502, allocations: 11.44 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.206e-06/0.502, allocations: 3.938 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.00446/0.5064, allocations: 1.344 MB / 1.112 GB, free: 175.3 MB / 0.6823 GB