Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadModel(Buildings): time 3.928/3.928, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.053e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5933, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.7878, allocations: 125.7 MB / 0.7517 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.7881, allocations: 79.95 kB / 0.7518 GB, free: 1.75 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01259/0.8007, allocations: 2.917 MB / 0.7546 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.141e-06/0.8008, allocations: 0 / 0.7546 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.405e-06/0.8008, allocations: 0 / 0.7546 GB, free: 14.83 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.0006286/0.8014, allocations: 416 kB / 0.755 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.8015, allocations: 8.031 kB / 0.755 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.8015, allocations: 7.953 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.8017, allocations: 178.8 kB / 0.7552 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.8017, allocations: 0 / 0.7552 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.8018, allocations: 4 kB / 0.7552 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.679e-05/0.8019, allocations: 20 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.802, allocations: 57.67 kB / 0.7553 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.932e-06/0.8021, allocations: 0 / 0.7553 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8021, allocations: 3.938 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-06/0.8021, allocations: 4 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.8028, allocations: 285.4 kB / 0.7556 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.8029, allocations: 46.52 kB / 0.7556 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.803, allocations: 24.97 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.803, allocations: 8 kB / 0.7556 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.8032, allocations: 69.59 kB / 0.7557 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.603e-06/0.8032, allocations: 0 / 0.7557 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000314/0.8035, allocations: 97.53 kB / 0.7558 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.8036, allocations: 51.41 kB / 0.7559 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8037, allocations: 112.9 kB / 0.756 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.8037, allocations: 29.64 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.8038, allocations: 96.23 kB / 0.7561 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.8039, allocations: 11.91 kB / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.8039, allocations: 0 / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8041, allocations: 318.8 kB / 0.7564 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.8041, allocations: 20 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/0.8042, allocations: 42.94 kB / 0.7565 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.8043, allocations: 24.06 kB / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-06/0.8043, allocations: 0 / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002493/0.8046, allocations: 97.5 kB / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8046, allocations: 6.344 kB / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-06/0.8046, allocations: 0 / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8047, allocations: 4 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.8048, allocations: 11.98 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.215e-06/0.8048, allocations: 0 / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.8049, allocations: 23.86 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.805, allocations: 3.984 kB / 0.7566 GB, free: 12.57 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 () * 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.0001033/0.8051, allocations: 108.9 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.8051, allocations: 4 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.8052, allocations: 8.625 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-06/0.8052, allocations: 4 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8052, allocations: 0 / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-06/0.8052, allocations: 0 / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.8058, allocations: 343 kB / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-06/0.8058, allocations: 3.938 kB / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.8058, allocations: 4 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.165e-06/0.8059, allocations: 0 / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.8059, allocations: 7.984 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.8059, allocations: 0 / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.948e-06/0.8059, allocations: 4 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.8062, allocations: 191.5 kB / 0.7573 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.8063, allocations: 88.89 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.8063, allocations: 4 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.8065, allocations: 7.984 kB / 0.7574 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.8065, allocations: 4 kB / 0.7574 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.8066, allocations: 7.984 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.8066, allocations: 91.23 kB / 0.7575 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.36e-07/0.8067, allocations: 0 / 0.7575 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004373/0.8071, allocations: 43.98 kB / 0.7575 GB, free: 11.58 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 () * 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.0004502/0.8076, allocations: 182.4 kB / 0.7577 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.8078, allocations: 44 kB / 0.7577 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.938e-06/0.8078, allocations: 0 / 0.7577 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.8079, allocations: 40.44 kB / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.8081, allocations: 0 / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.8085, allocations: 96.53 kB / 0.7579 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.8088, allocations: 0.6924 MB / 0.7585 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.235e-05/0.8089, allocations: 8.281 kB / 0.7585 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.809, allocations: 15.42 kB / 0.7586 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of SimCode: time 1.537e-06/0.809, allocations: 4 kB / 0.7586 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.005232/0.8142, allocations: 1.499 MB / 0.76 GB, free: 8.957 MB / 0.6355 GB