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.Continuous.Validation.ChangeSign.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.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.294/4.294, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.503e-05, allocations: 9.656 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2448, allocations: 98.74 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.516, allocations: 123.5 MB / 0.7495 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/0.5165, allocations: 63.97 kB / 0.7496 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003163/0.5197, allocations: 0.6022 MB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5197, allocations: 0 / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.5198, allocations: 0 / 0.7501 GB, free: 12.82 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.0005837/0.5204, allocations: 334.5 kB / 0.7505 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.5205, allocations: 12.03 kB / 0.7505 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.5205, allocations: 7.953 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.5208, allocations: 167 kB / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.5208, allocations: 4 kB / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.5208, allocations: 0 / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/0.521, allocations: 11.94 kB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5211, allocations: 29.7 kB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5211, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.5212, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5212, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.522, allocations: 253.4 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.5221, allocations: 22.58 kB / 0.751 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.5222, allocations: 12.86 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5222, allocations: 0 / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.5223, allocations: 38.55 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.324e-06/0.5223, allocations: 0 / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002435/0.5226, allocations: 33.7 kB / 0.751 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.5227, allocations: 51.41 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5228, allocations: 96.94 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.5229, allocations: 29.7 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.523, allocations: 84.14 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.523, allocations: 0 / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.523, allocations: 0 / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.5233, allocations: 314.9 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.5233, allocations: 4 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.5234, allocations: 7.938 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.5234, allocations: 7.938 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5234, allocations: 0 / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001242/0.5236, allocations: 41.59 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5236, allocations: 7.938 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.5236, allocations: 0 / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5237, allocations: 4.094 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.5238, allocations: 12 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5239, allocations: 3.984 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.524, allocations: 4 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.524, allocations: 7.953 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.509e-05/0.5241, allocations: 104.9 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001247/0.5243, allocations: 41.62 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.5243, allocations: 4.031 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.5244, allocations: 7.75 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5244, allocations: 0 / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.5244, allocations: 3.953 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5244, allocations: 0 / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.5247, allocations: 130.2 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5248, allocations: 0 / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.5249, allocations: 11.98 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.525, allocations: 0 / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.525, allocations: 4 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.525, allocations: 4 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.525, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5253, allocations: 135.5 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.5254, allocations: 81.11 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.5255, allocations: 0 / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5257, allocations: 8.031 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.5258, allocations: 11.98 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.5258, allocations: 0 / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.473e-05/0.5259, allocations: 79.28 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.088e-06/0.5259, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005666/0.5265, allocations: 7.844 kB / 0.7523 GB, free: 10.35 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0006457/0.5272, allocations: 0.6695 MB / 0.7529 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.5273, allocations: 12 kB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5274, allocations: 3.938 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.5274, allocations: 4 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.5278, allocations: 3.344 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.5284, allocations: 85.59 kB / 0.753 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.5288, allocations: 0.6808 MB / 0.7537 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.5288, allocations: 4 kB / 0.7537 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.5289, allocations: 7.438 kB / 0.7537 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.5289, allocations: 3.938 kB / 0.7537 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06458/0.5935, allocations: 0.6566 MB / 0.7544 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003267/0.5939, allocations: 150.5 kB / 0.7545 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.973, allocations: 3.938 kB / 0.7545 GB, free: 7.945 MB / 0.6355 GB