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.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.486/4.486, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.586e-05, allocations: 4.344 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.534, allocations: 125.7 MB / 0.7517 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005277/0.5347, allocations: 87.92 kB / 0.7518 GB, free: 11.14 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.02299/0.5577, allocations: 2.9 MB / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.955e-06/0.5578, allocations: 3.938 kB / 0.7546 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.5578, allocations: 0 / 0.7546 GB, free: 8.223 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.001024/0.5588, allocations: 419.9 kB / 0.755 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.5589, allocations: 12.03 kB / 0.755 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.559, allocations: 7.953 kB / 0.755 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.5593, allocations: 174.9 kB / 0.7552 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.5593, allocations: 4 kB / 0.7552 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.5594, allocations: 4 kB / 0.7552 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/0.5596, allocations: 23.98 kB / 0.7552 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.5598, allocations: 57.61 kB / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5599, allocations: 3.984 kB / 0.7553 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.5599, allocations: 0 / 0.7553 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5599, allocations: 7.953 kB / 0.7553 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.5611, allocations: 289.4 kB / 0.7556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.5613, allocations: 38.58 kB / 0.7556 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.5615, allocations: 21.59 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.5615, allocations: 0 / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.5618, allocations: 75.33 kB / 0.7557 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 7.695e-06/0.5618, allocations: 4 kB / 0.7557 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005521/0.5624, allocations: 101.5 kB / 0.7558 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.5625, allocations: 55.41 kB / 0.7558 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5627, allocations: 109 kB / 0.7559 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.5627, allocations: 25.7 kB / 0.756 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5629, allocations: 96.22 kB / 0.7561 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.5629, allocations: 7.906 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.5629, allocations: 0 / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.5632, allocations: 322.8 kB / 0.7564 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.5633, allocations: 15.98 kB / 0.7564 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.5634, allocations: 38.95 kB / 0.7564 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.5636, allocations: 23.98 kB / 0.7565 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5637, allocations: 0 / 0.7565 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003997/0.5641, allocations: 93.5 kB / 0.7565 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5641, allocations: 12.06 kB / 0.7566 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5642, allocations: 0 / 0.7566 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5642, allocations: 0 / 0.7566 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.5644, allocations: 16 kB / 0.7566 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.5645, allocations: 7.938 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.5646, allocations: 11.84 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.5647, allocations: 4 kB / 0.7566 GB, free: 5.961 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.0001449/0.5649, allocations: 105 kB / 0.7567 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000419/0.5653, allocations: 97.61 kB / 0.7568 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.5654, allocations: 3.906 kB / 0.7568 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.5654, allocations: 16.61 kB / 0.7568 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5655, allocations: 3.953 kB / 0.7568 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5655, allocations: 3.938 kB / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5655, allocations: 0 / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.5662, allocations: 331.3 kB / 0.7571 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5663, allocations: 11.88 kB / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.5664, allocations: 11.98 kB / 0.7572 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.5664, allocations: 0 / 0.7572 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.5665, allocations: 3.953 kB / 0.7572 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5665, allocations: 0 / 0.7572 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5665, allocations: 0 / 0.7572 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.567, allocations: 187.4 kB / 0.7573 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.5671, allocations: 89 kB / 0.7574 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.5671, allocations: 0 / 0.7574 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.5673, allocations: 13.64 kB / 0.7574 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.5674, allocations: 11.98 kB / 0.7574 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.5675, allocations: 0 / 0.7574 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001016/0.5676, allocations: 95.42 kB / 0.7575 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.42e-07/0.5676, allocations: 0 / 0.7575 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000749/0.5684, allocations: 47.94 kB / 0.7576 GB, free: 4.855 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.001505/0.5699, allocations: 0.8029 MB / 0.7584 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.5703, allocations: 51.94 kB / 0.7584 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.426e-05/0.5703, allocations: 0 / 0.7584 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5705, allocations: 28.11 kB / 0.7584 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.5709, allocations: 11.95 kB / 0.7585 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.5718, allocations: 150 kB / 0.7586 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.5722, allocations: 0.6924 MB / 0.7593 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.711e-05/0.5724, allocations: 4.188 kB / 0.7593 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.5725, allocations: 23.42 kB / 0.7593 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/0.5725, allocations: 4 kB / 0.7593 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.6156, allocations: 2.175 MB / 0.7614 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.6159, allocations: 197.6 kB / 0.7616 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.161, allocations: 0 / 0.7616 GB, free: 0.6484 MB / 0.6355 GB