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.Zhang2012WindowsAll.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.672/4.672, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.868e-05, allocations: 4.656 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2632, allocations: 98.74 MB / 0.6289 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.5014, allocations: 125.7 MB / 0.7517 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/0.5018, allocations: 83.95 kB / 0.7518 GB, free: 11.06 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01411/0.516, allocations: 2.908 MB / 0.7546 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.516, allocations: 4 kB / 0.7546 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.516, allocations: 0 / 0.7546 GB, free: 8.141 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.0007314/0.5168, allocations: 408 kB / 0.755 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5168, allocations: 8.031 kB / 0.755 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.5169, allocations: 11.94 kB / 0.755 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.5171, allocations: 178.9 kB / 0.7552 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.5172, allocations: 4 kB / 0.7552 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.5172, allocations: 4 kB / 0.7552 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/0.5173, allocations: 23.94 kB / 0.7552 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5175, allocations: 57.67 kB / 0.7553 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5175, allocations: 0 / 0.7553 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5175, allocations: 0 / 0.7553 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.5176, allocations: 3.953 kB / 0.7553 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.5184, allocations: 285.4 kB / 0.7556 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.5186, allocations: 42.56 kB / 0.7556 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.5187, allocations: 25.53 kB / 0.7556 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.5187, allocations: 7.938 kB / 0.7556 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.5189, allocations: 63.39 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.5189, allocations: 4 kB / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000371/0.5193, allocations: 105.6 kB / 0.7558 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.5193, allocations: 55.41 kB / 0.7558 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.5195, allocations: 105 kB / 0.7559 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.5195, allocations: 29.7 kB / 0.756 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.5196, allocations: 92.23 kB / 0.7561 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.5196, allocations: 11.89 kB / 0.7561 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.5197, allocations: 0 / 0.7561 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5198, allocations: 318.8 kB / 0.7564 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.5199, allocations: 20 kB / 0.7564 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.52, allocations: 46.44 kB / 0.7564 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.5201, allocations: 23.98 kB / 0.7565 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5201, allocations: 0 / 0.7565 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002595/0.5204, allocations: 89.52 kB / 0.7565 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5204, allocations: 8.062 kB / 0.7566 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5204, allocations: 0 / 0.7566 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5205, allocations: 7.984 kB / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5206, allocations: 11.98 kB / 0.7566 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.5207, allocations: 3.953 kB / 0.7566 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.5208, allocations: 19.83 kB / 0.7566 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.5208, allocations: 0 / 0.7566 GB, free: 5.887 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.0001046/0.5209, allocations: 112.9 kB / 0.7567 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002516/0.5212, allocations: 97.67 kB / 0.7568 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.5212, allocations: 7.906 kB / 0.7568 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.5213, allocations: 4.625 kB / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5213, allocations: 3.953 kB / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5213, allocations: 7.938 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5213, allocations: 3.984 kB / 0.7568 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.5219, allocations: 335.1 kB / 0.7571 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5219, allocations: 0 / 0.7571 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.522, allocations: 11.98 kB / 0.7572 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.522, allocations: 0 / 0.7572 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.522, allocations: 3.953 kB / 0.7572 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.522, allocations: 4 kB / 0.7572 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.522, allocations: 0 / 0.7572 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.5224, allocations: 187.4 kB / 0.7573 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.5224, allocations: 81.02 kB / 0.7574 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.5225, allocations: 7.984 kB / 0.7574 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.5226, allocations: 13.64 kB / 0.7574 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.5227, allocations: 3.984 kB / 0.7574 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.5227, allocations: 4 kB / 0.7574 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.5228, allocations: 87.28 kB / 0.7575 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.755e-06/0.5228, allocations: 0 / 0.7575 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004656/0.5233, allocations: 55.86 kB / 0.7576 GB, free: 4.781 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.001058/0.5243, allocations: 0.805 MB / 0.7584 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.5246, allocations: 55.92 kB / 0.7584 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5246, allocations: 0 / 0.7584 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.5247, allocations: 28.12 kB / 0.7584 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.525, allocations: 7.938 kB / 0.7585 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.5257, allocations: 150 kB / 0.7586 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.526, allocations: 0.6963 MB / 0.7593 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.195e-05/0.5261, allocations: 192 / 0.7593 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.5262, allocations: 23.42 kB / 0.7593 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.5262, allocations: 4 kB / 0.7593 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.565, allocations: 2.181 MB / 0.7614 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/0.5654, allocations: 187.6 kB / 0.7616 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.028, allocations: 0 / 0.7616 GB, free: 0.5703 MB / 0.6355 GB