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.Yun2008WindowsTIn.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.575/4.575, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.264e-05, allocations: 3.266 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2528, allocations: 98.74 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.5127, allocations: 126.7 MB / 0.7585 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.5131, allocations: 79.95 kB / 0.7585 GB, free: 2.895 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.01647/0.5296, allocations: 3.175 MB / 0.7616 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5297, allocations: 0 / 0.7616 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.5297, allocations: 4 kB / 0.7617 GB, free: 15.71 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007923/0.5305, allocations: 453.6 kB / 0.7621 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5306, allocations: 12.03 kB / 0.7621 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.5306, allocations: 30.56 kB / 0.7621 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.5307, allocations: 11.86 kB / 0.7621 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5309, allocations: 167.1 kB / 0.7623 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.5309, allocations: 4 kB / 0.7623 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.5309, allocations: 7.984 kB / 0.7623 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.5312, allocations: 81.59 kB / 0.7624 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5312, allocations: 0 / 0.7624 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.5312, allocations: 0 / 0.7624 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.5313, allocations: 3.984 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.5314, allocations: 39.98 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.5326, allocations: 356.5 kB / 0.7628 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.5328, allocations: 50.52 kB / 0.7628 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.5329, allocations: 44.84 kB / 0.7629 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.5329, allocations: 0 / 0.7629 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.5332, allocations: 79.38 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 5.19e-06/0.5332, allocations: 96 / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.000447/0.5336, allocations: 129.7 kB / 0.7631 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.5337, allocations: 59.39 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5339, allocations: 120.9 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.5339, allocations: 37.64 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.534, allocations: 88.14 kB / 0.7634 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.534, allocations: 15.8 kB / 0.7634 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5341, allocations: 8 kB / 0.7634 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5342, allocations: 314.8 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.5343, allocations: 23.98 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.5344, allocations: 56.3 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.5346, allocations: 31.92 kB / 0.7638 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5346, allocations: 0 / 0.7638 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003137/0.5349, allocations: 109.5 kB / 0.7639 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5349, allocations: 9.234 kB / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5349, allocations: 4 kB / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.535, allocations: 96 / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.5352, allocations: 27.88 kB / 0.7639 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5352, allocations: 0 / 0.7639 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.5354, allocations: 15.91 kB / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.5354, allocations: 4 kB / 0.7639 GB, free: 13.11 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001272/0.5355, allocations: 116.9 kB / 0.7641 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.5356, allocations: 7.906 kB / 0.7641 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.5356, allocations: 16.61 kB / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5357, allocations: 4 kB / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5357, allocations: 3.953 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5357, allocations: 0 / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.5365, allocations: 398.6 kB / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5365, allocations: 0 / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.5366, allocations: 8 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.5366, allocations: 0 / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.5367, allocations: 11.88 kB / 0.7645 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5367, allocations: 4.078 kB / 0.7645 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5367, allocations: 3.984 kB / 0.7645 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.5371, allocations: 223.4 kB / 0.7647 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.5372, allocations: 81.02 kB / 0.7648 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.5373, allocations: 7.984 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5375, allocations: 12.02 kB / 0.7648 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.5375, allocations: 15.92 kB / 0.7648 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.5376, allocations: 8 kB / 0.7648 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.66e-05/0.5377, allocations: 95.2 kB / 0.7649 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5377, allocations: 0 / 0.7649 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000471/0.5382, allocations: 48 kB / 0.765 GB, free: 11.96 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001179/0.5394, allocations: 0.8405 MB / 0.7658 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.5397, allocations: 71.92 kB / 0.7659 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5397, allocations: 0 / 0.7659 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5399, allocations: 47.92 kB / 0.7659 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.5401, allocations: 11.89 kB / 0.7659 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.5409, allocations: 172.7 kB / 0.7661 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.5412, allocations: 0.6965 MB / 0.7668 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.143e-05/0.5413, allocations: 4 kB / 0.7668 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.5414, allocations: 23.42 kB / 0.7668 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/0.5414, allocations: 0 / 0.7668 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0851/0.6265, allocations: 2.852 MB / 0.7696 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/0.6269, allocations: 207.6 kB / 0.7698 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.213, allocations: 0 / 0.7698 GB, free: 7.031 MB / 0.6511 GB