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.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.367/4.367, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.192e-05, allocations: 2.625 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2481, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2612/0.5093, allocations: 125.7 MB / 0.7517 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.5097, allocations: 79.94 kB / 0.7518 GB, free: 11.13 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.01429/0.524, allocations: 2.904 MB / 0.7546 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5241, allocations: 0 / 0.7546 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5241, allocations: 0 / 0.7546 GB, free: 8.215 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.000693/0.5248, allocations: 420 kB / 0.755 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5249, allocations: 8.031 kB / 0.755 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.5249, allocations: 11.95 kB / 0.755 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5251, allocations: 170.9 kB / 0.7552 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.5251, allocations: 4 kB / 0.7552 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.5252, allocations: 4 kB / 0.7552 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/0.5253, allocations: 23.94 kB / 0.7552 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5255, allocations: 61.66 kB / 0.7553 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5255, allocations: 0 / 0.7553 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.5255, allocations: 3.984 kB / 0.7553 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5255, allocations: 3.953 kB / 0.7553 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.5264, allocations: 281.4 kB / 0.7556 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.5266, allocations: 42.56 kB / 0.7556 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.5266, allocations: 21.59 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.5267, allocations: 7.938 kB / 0.7556 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.5269, allocations: 79.38 kB / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.5269, allocations: 0 / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003721/0.5273, allocations: 101.5 kB / 0.7558 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5274, allocations: 55.34 kB / 0.7558 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.5275, allocations: 112.9 kB / 0.756 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.5275, allocations: 25.7 kB / 0.756 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.5276, allocations: 92.23 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.5277, allocations: 15.89 kB / 0.7561 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5277, allocations: 0 / 0.7561 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5278, allocations: 314.8 kB / 0.7564 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.5279, allocations: 23.98 kB / 0.7564 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.528, allocations: 38.52 kB / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.5281, allocations: 23.98 kB / 0.7565 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5281, allocations: 0 / 0.7565 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002626/0.5284, allocations: 89.52 kB / 0.7565 GB, free: 6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5284, allocations: 12.98 kB / 0.7566 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.5284, allocations: 0 / 0.7566 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5285, allocations: 4 kB / 0.7566 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.5287, allocations: 8 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5287, allocations: 3.953 kB / 0.7566 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.5288, allocations: 19.83 kB / 0.7566 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.5288, allocations: 0 / 0.7566 GB, free: 5.953 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.0001159/0.529, allocations: 116.9 kB / 0.7567 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002652/0.5292, allocations: 89.67 kB / 0.7568 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.5293, allocations: 7.906 kB / 0.7568 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.5293, allocations: 12.61 kB / 0.7568 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.5293, allocations: 3.953 kB / 0.7568 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5294, allocations: 4 kB / 0.7568 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5294, allocations: 3.938 kB / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.5299, allocations: 331.1 kB / 0.7571 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5299, allocations: 0 / 0.7571 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.53, allocations: 11.98 kB / 0.7571 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.53, allocations: 0 / 0.7571 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5301, allocations: 3.953 kB / 0.7572 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5301, allocations: 4 kB / 0.7572 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5301, allocations: 0 / 0.7572 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.5304, allocations: 187.4 kB / 0.7573 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.5305, allocations: 85 kB / 0.7574 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.5305, allocations: 8 kB / 0.7574 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5307, allocations: 13.64 kB / 0.7574 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.5308, allocations: 3.984 kB / 0.7574 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5308, allocations: 4 kB / 0.7574 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.5309, allocations: 95.27 kB / 0.7575 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5309, allocations: 0 / 0.7575 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004678/0.5314, allocations: 43.94 kB / 0.7576 GB, free: 4.852 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.001083/0.5325, allocations: 0.8118 MB / 0.7584 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5327, allocations: 47.94 kB / 0.7584 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5327, allocations: 128 / 0.7584 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.5328, allocations: 31.98 kB / 0.7584 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5331, allocations: 7.953 kB / 0.7585 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.5338, allocations: 150 kB / 0.7586 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.5341, allocations: 0.6963 MB / 0.7593 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.5342, allocations: 4.188 kB / 0.7593 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.5342, allocations: 15.42 kB / 0.7593 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.5342, allocations: 4 kB / 0.7593 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.5743, allocations: 2.175 MB / 0.7614 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.5746, allocations: 188.8 kB / 0.7616 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.407, allocations: 10.62 kB / 0.7616 GB, free: 0.6406 MB / 0.6355 GB