Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.114/4.114, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.261e-05, allocations: 2.969 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 98.74 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.5116, allocations: 123.6 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5119, allocations: 71.95 kB / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002169/0.5141, allocations: 0.649 MB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5141, allocations: 0 / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.5142, allocations: 0 / 0.7503 GB, free: 12.67 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004111/0.5146, allocations: 338.5 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5146, allocations: 12.03 kB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.5147, allocations: 3.953 kB / 0.7506 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.5149, allocations: 171 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.5149, allocations: 0 / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.5149, allocations: 4 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.24e-05/0.515, allocations: 4 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.5151, allocations: 41.69 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.5151, allocations: 0 / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5151, allocations: 0 / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.5152, allocations: 4 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.5156, allocations: 253.3 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.5157, allocations: 18.58 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.5157, allocations: 12.92 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.5158, allocations: 4 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.5159, allocations: 55.34 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.5159, allocations: 0 / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001511/0.5161, allocations: 45.62 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.5161, allocations: 55.41 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.5162, allocations: 101 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.5163, allocations: 25.7 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.5163, allocations: 84.14 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.5163, allocations: 7.906 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.5164, allocations: 0 / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5165, allocations: 322.8 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.5165, allocations: 4 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.5165, allocations: 17.72 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.5166, allocations: 4 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5166, allocations: 0 / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.763e-05/0.5167, allocations: 53.62 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5167, allocations: 4 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5168, allocations: 192 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5168, allocations: 4 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.5168, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.5169, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.5169, allocations: 15.97 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.517, allocations: 3.953 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.243e-05/0.5171, allocations: 109.7 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.373e-05/0.5172, allocations: 53.53 kB / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.5172, allocations: 0 / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.5172, allocations: 12.12 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5172, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.5173, allocations: 3.953 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5173, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.5174, allocations: 142.2 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5174, allocations: 0 / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-06/0.5175, allocations: 256 / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5175, allocations: 4 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.5175, allocations: 8 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5175, allocations: 0 / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5175, allocations: 0 / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.5176, allocations: 69.08 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.5177, allocations: 85.02 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.5177, allocations: 7.922 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.5178, allocations: 8 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.5179, allocations: 7.984 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5179, allocations: 0 / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.5179, allocations: 83.28 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/0.518, allocations: 3.938 kB / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002351/0.5182, allocations: 4 kB / 0.7525 GB, free: 10.15 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: 3 ($whenCondition1,assert.u,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003984/0.5186, allocations: 0.6124 MB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.5187, allocations: 19.98 kB / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5187, allocations: 0 / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.5188, allocations: 11.94 kB / 0.7531 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.519, allocations: 9.406 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.5194, allocations: 85.66 kB / 0.7532 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5197, allocations: 0.6885 MB / 0.7539 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.5197, allocations: 0 / 0.7539 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.5197, allocations: 11.44 kB / 0.7539 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.5198, allocations: 0 / 0.7539 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.5548, allocations: 0.8509 MB / 0.7547 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.5552, allocations: 148 kB / 0.7548 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.901, allocations: 0 / 0.7548 GB, free: 7.586 MB / 0.6355 GB