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.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004195/0.004195, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001128/0.001128, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.983/3.983, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.114/4.114, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005267, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1777, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.803/0.9808, allocations: 126.5 MB / 1.228 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.9811, allocations: 87.06 kB / 1.228 GB, free: 26.99 MB / 0.6198 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.01404/0.9952, allocations: 2.946 MB / 1.231 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9952, allocations: 0 / 1.231 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9953, allocations: 0 / 1.231 GB, free: 25.29 MB / 0.6198 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.0006979/0.996, allocations: 418.2 kB / 1.232 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.996, allocations: 16.84 kB / 1.232 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.9961, allocations: 7.906 kB / 1.232 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.9962, allocations: 175.4 kB / 1.232 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.9962, allocations: 1.641 kB / 1.232 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.9963, allocations: 7.5 kB / 1.232 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.9965, allocations: 71.05 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9966, allocations: 2.25 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.9966, allocations: 4.891 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9966, allocations: 3.312 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.9968, allocations: 40.98 kB / 1.232 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.9977, allocations: 320.5 kB / 1.232 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.9979, allocations: 49.14 kB / 1.232 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.998, allocations: 36.06 kB / 1.232 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.998, allocations: 1.75 kB / 1.232 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.9983, allocations: 81.42 kB / 1.232 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.9983, allocations: 0 / 1.232 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006177/0.9989, allocations: 160.2 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.999, allocations: 52.67 kB / 1.233 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.9991, allocations: 123.1 kB / 1.233 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.9992, allocations: 29.77 kB / 1.233 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.9993, allocations: 96.11 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.9994, allocations: 9.031 kB / 1.233 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.9994, allocations: 10.66 kB / 1.233 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.9997, allocations: 317.1 kB / 1.233 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/1, allocations: 24.25 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/1.001, allocations: 55.2 kB / 1.233 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/1.001, allocations: 36.84 kB / 1.233 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.001, allocations: 0 / 1.233 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004918/1.001, allocations: 127.2 kB / 1.233 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.001, allocations: 5.453 kB / 1.233 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.001, allocations: 5.938 kB / 1.233 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.002, allocations: 0 / 1.233 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.002, allocations: 22 kB / 1.233 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.002, allocations: 0.6094 kB / 1.233 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.002, allocations: 9 kB / 1.233 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.002, allocations: 4 kB / 1.233 GB, free: 23.14 MB / 0.6198 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.0001223/1.002, allocations: 116.2 kB / 1.233 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/1.002, allocations: 11.84 kB / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/1.002, allocations: 16.72 kB / 1.233 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.002, allocations: 0.5156 kB / 1.233 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.002, allocations: 3.953 kB / 1.234 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.002, allocations: 0.5156 kB / 1.234 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/1.003, allocations: 377.5 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.003, allocations: 1.969 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/1.003, allocations: 8 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.003, allocations: 1.359 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/1.003, allocations: 5.547 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.003, allocations: 7.875 kB / 1.234 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.003, allocations: 0 / 1.234 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/1.003, allocations: 218 kB / 1.234 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/1.003, allocations: 85.53 kB / 1.234 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/1.003, allocations: 4.594 kB / 1.234 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.004, allocations: 13.2 kB / 1.234 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/1.004, allocations: 6.109 kB / 1.234 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/1.004, allocations: 1.359 kB / 1.234 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000482/1.004, allocations: 90.08 kB / 1.234 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.004, allocations: 0 / 1.234 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004747/1.005, allocations: 54.45 kB / 1.234 GB, free: 38.2 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.0004252/1.005, allocations: 176.5 kB / 1.235 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000351/1.005, allocations: 81.02 kB / 1.235 GB, free: 38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.005, allocations: 0 / 1.235 GB, free: 38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/1.006, allocations: 42.61 kB / 1.235 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.006, allocations: 1.125 kB / 1.235 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/1.006, allocations: 205.6 kB / 1.235 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.007, allocations: 0.6937 MB / 1.235 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.081e-05/1.007, allocations: 6.797 kB / 1.236 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/1.007, allocations: 8.703 kB / 1.236 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/1.007, allocations: 0 / 1.236 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.005453/1.012, allocations: 1.523 MB / 1.237 GB, free: 36.31 MB / 0.6355 GB