Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009869/0.009874, allocations: 89.42 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001198/0.001198, allocations: 172.1 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.242/2.242, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.409/2.409, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007782/0.0007785, allocations: 13.25 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.303, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002347/0.3054, allocations: 1.203 MB / 0.7292 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3073, allocations: 0.7227 MB / 0.7299 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.3074, allocations: 0 / 0.7299 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.3074, allocations: 3.938 kB / 0.7299 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.3075, allocations: 19.97 kB / 0.73 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.3082, allocations: 87.7 kB / 0.7301 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3083, allocations: 43.89 kB / 0.7301 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.3084, allocations: 19.95 kB / 0.7301 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3085, allocations: 27.92 kB / 0.7301 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.3086, allocations: 35.89 kB / 0.7302 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3087, allocations: 4 kB / 0.7302 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.3089, allocations: 67.88 kB / 0.7302 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.309, allocations: 15.97 kB / 0.7303 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.309, allocations: 33.64 kB / 0.7303 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3093, allocations: 108 kB / 0.7304 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3093, allocations: 0 / 0.7304 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3093, allocations: 0 / 0.7304 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3093, allocations: 0 / 0.7304 GB, free: 7.785 MB / 0.5573 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.0007789/0.3101, allocations: 400.9 kB / 0.7308 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3102, allocations: 8.031 kB / 0.7308 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.3102, allocations: 42.55 kB / 0.7308 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.3103, allocations: 7.859 kB / 0.7308 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3105, allocations: 174.9 kB / 0.731 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.3105, allocations: 7.938 kB / 0.731 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.3105, allocations: 8 kB / 0.731 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.3108, allocations: 73.62 kB / 0.7311 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3109, allocations: 4 kB / 0.7311 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3109, allocations: 0 / 0.7311 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3109, allocations: 4 kB / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.3111, allocations: 43.92 kB / 0.7311 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.312, allocations: 316.8 kB / 0.7314 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3123, allocations: 54.5 kB / 0.7315 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3123, allocations: 0 / 0.7315 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.3126, allocations: 87.56 kB / 0.7316 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.3126, allocations: 0 / 0.7316 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006737/0.3133, allocations: 149.4 kB / 0.7317 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3134, allocations: 63.28 kB / 0.7318 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3135, allocations: 129.8 kB / 0.7319 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3136, allocations: 25.7 kB / 0.7319 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.3137, allocations: 92.23 kB / 0.732 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3137, allocations: 15.83 kB / 0.732 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.3137, allocations: 4 kB / 0.732 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3139, allocations: 314.8 kB / 0.7323 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3141, allocations: 27.98 kB / 0.7324 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3143, allocations: 54.55 kB / 0.7324 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3144, allocations: 31.98 kB / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3144, allocations: 0 / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004342/0.3149, allocations: 125.5 kB / 0.7326 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3149, allocations: 8 kB / 0.7326 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3149, allocations: 0 / 0.7326 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.315, allocations: 3.953 kB / 0.7326 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3151, allocations: 15.94 kB / 0.7326 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.3152, allocations: 7.984 kB / 0.7326 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.3153, allocations: 11.91 kB / 0.7326 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3153, allocations: 8.062 kB / 0.7326 GB, free: 5.27 MB / 0.5573 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 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.0001299/0.3155, allocations: 113.8 kB / 0.7327 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.3155, allocations: 4 kB / 0.7327 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.3155, allocations: 16.36 kB / 0.7327 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3156, allocations: 3.953 kB / 0.7327 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3156, allocations: 0 / 0.7327 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3156, allocations: 0 / 0.7327 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.3163, allocations: 390.3 kB / 0.7331 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3163, allocations: 0 / 0.7331 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.3164, allocations: 11.94 kB / 0.7331 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.3164, allocations: 3.953 kB / 0.7331 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3165, allocations: 3.984 kB / 0.7331 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3165, allocations: 0 / 0.7331 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3165, allocations: 0 / 0.7331 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.317, allocations: 219.8 kB / 0.7333 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3171, allocations: 81.11 kB / 0.7334 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3171, allocations: 7.938 kB / 0.7334 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3173, allocations: 4 kB / 0.7334 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.3173, allocations: 15.98 kB / 0.7334 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3174, allocations: 0 / 0.7334 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.211e-05/0.3174, allocations: 91.27 kB / 0.7335 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3175, allocations: 0 / 0.7335 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004368/0.3179, allocations: 36 kB / 0.7336 GB, free: 4.188 MB / 0.5573 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001172/0.3191, allocations: 0.8186 MB / 0.7344 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.3195, allocations: 80.02 kB / 0.7344 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3195, allocations: 0 / 0.7344 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.3197, allocations: 43.91 kB / 0.7345 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.32, allocations: 4.938 kB / 0.7345 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3211, allocations: 0.7206 MB / 0.7352 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3214, allocations: 0.7004 MB / 0.7359 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.3215, allocations: 192 / 0.7359 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.3216, allocations: 23.42 kB / 0.7359 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of SimCode: time 1.453e-06/0.3216, allocations: 0 / 0.7359 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3509, allocations: 2.309 MB / 0.7382 GB, free: 15.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/0.3513, allocations: 242.2 kB / 0.7384 GB, free: 15.23 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/2.973, allocations: 0 / 0.7384 GB, free: 15.23 MB / 0.573 GB