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.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.361/4.361, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.385e-05, allocations: 4.531 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2177, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2644/0.4822, allocations: 126.8 MB / 0.7586 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4825, allocations: 83.94 kB / 0.7587 GB, free: 2.777 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.0236/0.5062, allocations: 3.728 MB / 0.7623 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5062, allocations: 0 / 0.7623 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.5062, allocations: 0 / 0.7623 GB, free: 15.04 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001312/0.5076, allocations: 0.5205 MB / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.5077, allocations: 12.03 kB / 0.7628 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.5078, allocations: 34.56 kB / 0.7629 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.5079, allocations: 27.75 kB / 0.7629 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.5081, allocations: 167 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.5082, allocations: 4 kB / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.5082, allocations: 8 kB / 0.7631 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.5087, allocations: 97.62 kB / 0.7632 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5088, allocations: 3.938 kB / 0.7632 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.5088, allocations: 7.922 kB / 0.7632 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5089, allocations: 3.938 kB / 0.7632 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.5092, allocations: 55.94 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.5115, allocations: 412.5 kB / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.5118, allocations: 66.5 kB / 0.7637 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.5121, allocations: 48.84 kB / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.5121, allocations: 0 / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.5126, allocations: 107.3 kB / 0.7638 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.246e-06/0.5126, allocations: 0 / 0.7638 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0008091/0.5134, allocations: 153.4 kB / 0.764 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.5135, allocations: 51.41 kB / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.5137, allocations: 135.8 kB / 0.7642 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.5138, allocations: 29.7 kB / 0.7642 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5139, allocations: 100.4 kB / 0.7643 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.514, allocations: 23.7 kB / 0.7643 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.514, allocations: 0 / 0.7643 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5142, allocations: 326.8 kB / 0.7646 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5144, allocations: 24 kB / 0.7646 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.5146, allocations: 61.09 kB / 0.7647 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.5148, allocations: 35.98 kB / 0.7647 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5148, allocations: 0 / 0.7647 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005055/0.5153, allocations: 125.4 kB / 0.7648 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.5154, allocations: 10.3 kB / 0.7649 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5154, allocations: 8 kB / 0.7649 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5154, allocations: 0 / 0.7649 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.5158, allocations: 27.97 kB / 0.7649 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.5159, allocations: 8.062 kB / 0.7649 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.5161, allocations: 23.83 kB / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.5162, allocations: 8.109 kB / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.0001593/0.5164, allocations: 112.9 kB / 0.765 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.5164, allocations: 8 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.5165, allocations: 20.52 kB / 0.7651 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5165, allocations: 0 / 0.7651 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5165, allocations: 7.984 kB / 0.7651 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5166, allocations: 0 / 0.7651 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.5178, allocations: 450.5 kB / 0.7655 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5178, allocations: 0 / 0.7655 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.518, allocations: 23.88 kB / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.5181, allocations: 0 / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.5181, allocations: 7.984 kB / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5181, allocations: 0 / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5181, allocations: 4 kB / 0.7655 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.5189, allocations: 251.2 kB / 0.7658 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.519, allocations: 89.09 kB / 0.7659 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.5191, allocations: 3.953 kB / 0.7659 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.5196, allocations: 31.97 kB / 0.7659 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.5197, allocations: 11.98 kB / 0.7659 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.5198, allocations: 3.984 kB / 0.7659 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000143/0.5199, allocations: 105.7 kB / 0.766 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.41e-07/0.52, allocations: 0 / 0.766 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008037/0.5208, allocations: 59.92 kB / 0.7661 GB, free: 10.82 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.01381/0.5346, allocations: 0.8586 MB / 0.7669 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.5352, allocations: 87.84 kB / 0.767 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5352, allocations: 96 / 0.767 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.5355, allocations: 52.25 kB / 0.767 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.5359, allocations: 13.81 kB / 0.7671 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.5372, allocations: 206.9 kB / 0.7672 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.5377, allocations: 0.7004 MB / 0.7679 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.5378, allocations: 11.98 kB / 0.7679 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.538, allocations: 27.42 kB / 0.768 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/0.538, allocations: 0 / 0.768 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.5956, allocations: 3.274 MB / 0.7712 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004167/0.5961, allocations: 223.2 kB / 0.7714 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.222, allocations: 0 / 0.7714 GB, free: 5.383 MB / 0.6511 GB