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.Logical.Validation.Change.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.174/4.174, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.734e-05/4.744e-05, allocations: 9.875 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4373, allocations: 124.6 MB / 0.7564 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.4376, allocations: 71.95 kB / 0.7565 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004737/0.4424, allocations: 0.9505 MB / 0.7574 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4424, allocations: 0 / 0.7574 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4425, allocations: 0 / 0.7574 GB, free: 4.086 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.0007378/0.4432, allocations: 366.5 kB / 0.7578 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4433, allocations: 12.03 kB / 0.7578 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.4434, allocations: 34.55 kB / 0.7578 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.4434, allocations: 11.86 kB / 0.7578 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.4436, allocations: 174.9 kB / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4437, allocations: 8 kB / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4437, allocations: 0 / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4439, allocations: 57.67 kB / 0.7581 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4439, allocations: 4 kB / 0.7581 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.444, allocations: 3.938 kB / 0.7581 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.444, allocations: 0 / 0.7581 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.4441, allocations: 23.98 kB / 0.7581 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.4449, allocations: 300.8 kB / 0.7584 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/0.4457, allocations: 110.5 kB / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.4458, allocations: 16.98 kB / 0.7585 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4458, allocations: 4 kB / 0.7585 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.446, allocations: 59.41 kB / 0.7586 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.446, allocations: 0 / 0.7586 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003144/0.4464, allocations: 85.61 kB / 0.7586 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.4465, allocations: 55.39 kB / 0.7587 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4466, allocations: 113.1 kB / 0.7588 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.4467, allocations: 33.7 kB / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.4468, allocations: 88.12 kB / 0.7589 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.4468, allocations: 15.81 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4468, allocations: 3.938 kB / 0.7589 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.447, allocations: 322.8 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.4471, allocations: 12 kB / 0.7593 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4472, allocations: 43.44 kB / 0.7593 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.4473, allocations: 17.91 kB / 0.7593 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4473, allocations: 0 / 0.7593 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003006/0.4477, allocations: 101.5 kB / 0.7594 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4477, allocations: 4 kB / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4477, allocations: 0 / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4478, allocations: 12.05 kB / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.4479, allocations: 15.98 kB / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.448, allocations: 0 / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4482, allocations: 15.98 kB / 0.7595 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.4482, allocations: 8 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001206/0.4484, allocations: 120.8 kB / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4484, allocations: 3.906 kB / 0.7596 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.4485, allocations: 12.62 kB / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4485, allocations: 0 / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4485, allocations: 3.953 kB / 0.7596 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4485, allocations: 3.984 kB / 0.7596 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.4492, allocations: 334.6 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4492, allocations: 0 / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.4493, allocations: 15.94 kB / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4494, allocations: 0 / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.4494, allocations: 11.94 kB / 0.76 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4494, allocations: 0 / 0.76 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4494, allocations: 0.5625 kB / 0.76 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.4497, allocations: 171.4 kB / 0.7601 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.4498, allocations: 85.02 kB / 0.7602 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4499, allocations: 0 / 0.7602 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.4502, allocations: 27.92 kB / 0.7602 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.4503, allocations: 7.984 kB / 0.7602 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4503, allocations: 7.938 kB / 0.7602 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.463e-05/0.4504, allocations: 87.28 kB / 0.7603 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/0.4504, allocations: 3.938 kB / 0.7603 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005761/0.451, allocations: 16 kB / 0.7603 GB, free: 0.7578 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 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007642/0.4518, allocations: 0.7085 MB / 0.761 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.4521, allocations: 47.98 kB / 0.7611 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4521, allocations: 0 / 0.7611 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4523, allocations: 28.25 kB / 0.7611 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4527, allocations: 16.08 kB / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.4536, allocations: 132.9 kB / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.454, allocations: 0.6887 MB / 0.7619 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.044e-05/0.4541, allocations: 11.77 kB / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.4542, allocations: 19.44 kB / 0.7619 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/0.4542, allocations: 0 / 0.7619 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05788/0.5121, allocations: 1.635 MB / 0.7635 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.5124, allocations: 156.5 kB / 0.7637 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.767, allocations: 0 / 0.7637 GB, free: 13.24 MB / 0.6511 GB