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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadModel(Buildings): time 4.555/4.555, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.93e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.496, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.6942, allocations: 125.7 MB / 0.7517 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.6945, allocations: 79.95 kB / 0.7518 GB, free: 1.719 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.01272/0.7073, allocations: 2.909 MB / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.602e-06/0.7073, allocations: 4 kB / 0.7546 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.808e-06/0.7073, allocations: 0 / 0.7546 GB, free: 14.8 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.0006266/0.708, allocations: 412 kB / 0.755 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.708, allocations: 8.031 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.7081, allocations: 7.953 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.7083, allocations: 178.8 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.7083, allocations: 0 / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.7084, allocations: 4 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/0.7085, allocations: 27.98 kB / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.7086, allocations: 57.67 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.076e-06/0.7086, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.7087, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.7087, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000692/0.7094, allocations: 293.3 kB / 0.7556 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.7095, allocations: 38.58 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.7096, allocations: 20.98 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.7096, allocations: 4 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.7098, allocations: 65.53 kB / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.868e-06/0.7098, allocations: 0 / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003449/0.7102, allocations: 113.5 kB / 0.7558 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.7102, allocations: 51.41 kB / 0.7559 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.7104, allocations: 109 kB / 0.756 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.7104, allocations: 29.64 kB / 0.756 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.7105, allocations: 96.22 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.7105, allocations: 11.91 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.7106, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7107, allocations: 314.8 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.7108, allocations: 24 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.7109, allocations: 35.02 kB / 0.7564 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.711, allocations: 23.98 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.711, allocations: 0 / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.7113, allocations: 93.5 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7113, allocations: 4 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.249e-06/0.7114, allocations: 3.938 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7114, allocations: 8.062 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.7115, allocations: 11.98 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.201e-06/0.7116, allocations: 4.094 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.7117, allocations: 19.8 kB / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.7117, allocations: 0 / 0.7566 GB, free: 12.56 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.0001055/0.7118, allocations: 109 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.7119, allocations: 7.984 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.7119, allocations: 8.625 kB / 0.7567 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.157e-06/0.7119, allocations: 4 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7119, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.346e-06/0.7119, allocations: 3.984 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.7125, allocations: 342.9 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-06/0.7125, allocations: 3.984 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.7126, allocations: 4 kB / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-06/0.7126, allocations: 0 / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.7126, allocations: 4 kB / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.411e-06/0.7126, allocations: 4 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-06/0.7126, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.713, allocations: 195.5 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.713, allocations: 88.95 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.7131, allocations: 4 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.7132, allocations: 4 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.7133, allocations: 3.984 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.7133, allocations: 11.94 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.7134, allocations: 99.38 kB / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.06e-07/0.7134, allocations: 0 / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004425/0.7138, allocations: 44 kB / 0.7575 GB, free: 11.55 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.0004639/0.7143, allocations: 177.9 kB / 0.7577 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.7145, allocations: 51.94 kB / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.673e-06/0.7146, allocations: 0 / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.7146, allocations: 24 kB / 0.7578 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.7149, allocations: 3.984 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.7153, allocations: 96.53 kB / 0.7578 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.7157, allocations: 0.6964 MB / 0.7585 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.321e-05/0.7158, allocations: 4.188 kB / 0.7585 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.7158, allocations: 11.44 kB / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.7158, allocations: 0 / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.005233/0.7211, allocations: 1.508 MB / 0.76 GB, free: 8.934 MB / 0.6355 GB