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.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00927/0.00927, allocations: 110.8 kB / 15.05 MB, free: 5.582 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.00118/0.00118, allocations: 184 kB / 15.94 MB, free: 5.551 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.044/2.044, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.278/2.278, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005498, allocations: 16 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.542, allocations: 98.71 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.7301, allocations: 126.8 MB / 0.8072 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.7304, allocations: 83.95 kB / 0.8072 GB, free: 15.42 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.01598/0.7464, allocations: 3.548 MB / 0.8107 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.186e-06/0.7464, allocations: 0 / 0.8107 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.7464, allocations: 4 kB / 0.8107 GB, free: 11.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007431/0.7472, allocations: 480.9 kB / 0.8112 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7472, allocations: 8.031 kB / 0.8112 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.7473, allocations: 15.86 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.7475, allocations: 183.5 kB / 0.8114 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.7475, allocations: 4 kB / 0.8114 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.7476, allocations: 8 kB / 0.8114 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.7479, allocations: 105.5 kB / 0.8115 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.7479, allocations: 3.938 kB / 0.8115 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7479, allocations: 0 / 0.8115 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-06/0.748, allocations: 0 / 0.8115 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.7483, allocations: 79.94 kB / 0.8116 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/0.7493, allocations: 368.7 kB / 0.8119 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.7495, allocations: 74.48 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.7496, allocations: 0 / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.7499, allocations: 115.3 kB / 0.8121 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.142e-06/0.7499, allocations: 0 / 0.8121 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007645/0.7507, allocations: 237.3 kB / 0.8123 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.7507, allocations: 51.41 kB / 0.8124 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.7509, allocations: 131 kB / 0.8125 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.7509, allocations: 29.7 kB / 0.8125 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.751, allocations: 96.52 kB / 0.8126 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.7511, allocations: 27.64 kB / 0.8126 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.7511, allocations: 8 kB / 0.8126 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7512, allocations: 322.8 kB / 0.813 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.7514, allocations: 39.97 kB / 0.813 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.7516, allocations: 88.2 kB / 0.8131 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.7518, allocations: 47.97 kB / 0.8131 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-06/0.7519, allocations: 0 / 0.8131 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004955/0.7524, allocations: 169.4 kB / 0.8133 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.7524, allocations: 4 kB / 0.8133 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-06/0.7524, allocations: 0 / 0.8133 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7524, allocations: 4 kB / 0.8133 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.7526, allocations: 23.94 kB / 0.8133 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.7527, allocations: 8.188 kB / 0.8133 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.7528, allocations: 19.84 kB / 0.8133 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.7528, allocations: 4 kB / 0.8133 GB, free: 8.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001353/0.753, allocations: 125.8 kB / 0.8135 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.753, allocations: 7.906 kB / 0.8135 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.7531, allocations: 12.72 kB / 0.8135 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-06/0.7531, allocations: 0 / 0.8135 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.7531, allocations: 12.02 kB / 0.8135 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.072e-06/0.7531, allocations: 0 / 0.8135 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008547/0.754, allocations: 474.7 kB / 0.8139 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-06/0.754, allocations: 0 / 0.8139 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.7541, allocations: 15.98 kB / 0.814 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.262e-06/0.7541, allocations: 0 / 0.814 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.7541, allocations: 7.938 kB / 0.814 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.7542, allocations: 4 kB / 0.814 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-06/0.7542, allocations: 0 / 0.814 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.7547, allocations: 275.3 kB / 0.8142 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.7548, allocations: 84.92 kB / 0.8143 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.7549, allocations: 7.984 kB / 0.8143 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.755, allocations: 11.95 kB / 0.8143 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7551, allocations: 7.984 kB / 0.8143 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.7551, allocations: 7.938 kB / 0.8144 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.7552, allocations: 112.9 kB / 0.8145 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.91e-07/0.7553, allocations: 0 / 0.8145 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004515/0.7557, allocations: 55.94 kB / 0.8145 GB, free: 7.609 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004273/0.7562, allocations: 185.4 kB / 0.8147 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.7566, allocations: 119.9 kB / 0.8148 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.761e-06/0.7566, allocations: 0 / 0.8148 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7568, allocations: 68.08 kB / 0.8149 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.7571, allocations: 12.38 kB / 0.8149 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.7577, allocations: 258.7 kB / 0.8151 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.7581, allocations: 0.7043 MB / 0.8158 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.233e-05/0.7582, allocations: 7.953 kB / 0.8158 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.7582, allocations: 11.44 kB / 0.8158 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of SimCode: time 1.365e-06/0.7582, allocations: 0 / 0.8158 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.00612/0.7644, allocations: 1.976 MB / 0.8178 GB, free: 4.246 MB / 0.6355 GB