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.Zhang2012WindowsAll.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.155/4.155, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.649e-05, allocations: 5.766 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 98.72 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.3878, allocations: 126.4 MB / 0.7582 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004569/0.3884, allocations: 83.94 kB / 0.7582 GB, free: 3.23 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.02264/0.411, allocations: 2.922 MB / 0.7611 GB, free: 312 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.035e-06/0.4111, allocations: 0 / 0.7611 GB, free: 312 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4111, allocations: 4 kB / 0.7611 GB, free: 308 kB / 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.0009189/0.4121, allocations: 412 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.4122, allocations: 12.03 kB / 0.7615 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.4122, allocations: 11.86 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4125, allocations: 170.9 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.4125, allocations: 0 / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.4126, allocations: 8 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.4129, allocations: 57.67 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4129, allocations: 4 kB / 0.7617 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.413, allocations: 0 / 0.7617 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.413, allocations: 3.984 kB / 0.7617 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.4132, allocations: 24 kB / 0.7618 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.4144, allocations: 320.7 kB / 0.7621 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.4146, allocations: 38.58 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4147, allocations: 28.97 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.4148, allocations: 8 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.4151, allocations: 67.38 kB / 0.7622 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 4.809e-06/0.4151, allocations: 3.938 kB / 0.7622 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005023/0.4156, allocations: 105.5 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.4157, allocations: 59.41 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.4159, allocations: 109 kB / 0.7625 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.416, allocations: 33.64 kB / 0.7625 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4161, allocations: 88.39 kB / 0.7626 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.4162, allocations: 19.75 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.4162, allocations: 0 / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4164, allocations: 322.8 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4166, allocations: 20 kB / 0.7629 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4167, allocations: 43 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.4169, allocations: 20 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.41e-06/0.4169, allocations: 0 / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004425/0.4174, allocations: 97.52 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4174, allocations: 4 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4175, allocations: 0 / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.4175, allocations: 7.938 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4178, allocations: 20.05 kB / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.4178, allocations: 3.953 kB / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.418, allocations: 8 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.418, allocations: 3.984 kB / 0.7631 GB, free: 13.98 MB / 0.6511 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.0001471/0.4182, allocations: 110.9 kB / 0.7632 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.4183, allocations: 11.89 kB / 0.7633 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.4183, allocations: 8.625 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-06/0.4184, allocations: 8 kB / 0.7633 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.725e-06/0.4184, allocations: 4 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.4184, allocations: 3.953 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.4193, allocations: 370.3 kB / 0.7636 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.4193, allocations: 0 / 0.7636 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4194, allocations: 7.984 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.4195, allocations: 4 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.4195, allocations: 0 / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.132e-06/0.4195, allocations: 3.953 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4196, allocations: 4 kB / 0.7636 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.4201, allocations: 199.4 kB / 0.7638 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.4202, allocations: 81.02 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.4202, allocations: 4 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.4205, allocations: 4 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.4206, allocations: 11.94 kB / 0.7639 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.4206, allocations: 4 kB / 0.7639 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000115/0.4208, allocations: 99.42 kB / 0.764 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.402e-06/0.4208, allocations: 0 / 0.764 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008099/0.4216, allocations: 55.88 kB / 0.7641 GB, free: 12.9 MB / 0.6511 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.0006515/0.4223, allocations: 163 kB / 0.7642 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.4227, allocations: 59.98 kB / 0.7643 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4227, allocations: 0 / 0.7643 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4229, allocations: 31.94 kB / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.4232, allocations: 11.98 kB / 0.7643 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.4238, allocations: 101.5 kB / 0.7644 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.4243, allocations: 0.6926 MB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.4244, allocations: 4.312 kB / 0.7651 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.4245, allocations: 11.44 kB / 0.7651 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of SimCode: time 2.279e-06/0.4245, allocations: 0 / 0.7651 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.008828/0.4334, allocations: 1.546 MB / 0.7666 GB, free: 10.24 MB / 0.6511 GB