Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadModel(Buildings): time 3.761/3.761, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.881e-05, allocations: 7.5 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 98.72 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.3726, allocations: 124.1 MB / 0.756 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3729, allocations: 71.95 kB / 0.756 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001867/0.3748, allocations: 0.5986 MB / 0.7566 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.969e-06/0.3748, allocations: 0 / 0.7566 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.64e-06/0.3748, allocations: 7.938 kB / 0.7566 GB, free: 4.906 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.0003903/0.3752, allocations: 334.5 kB / 0.7569 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3753, allocations: 11.97 kB / 0.757 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3753, allocations: 0 / 0.757 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3755, allocations: 167 kB / 0.7571 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3755, allocations: 0 / 0.7571 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-06/0.3755, allocations: 0 / 0.7571 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.3757, allocations: 45.69 kB / 0.7572 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.241e-06/0.3757, allocations: 0 / 0.7572 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-06/0.3757, allocations: 0 / 0.7572 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-06/0.3757, allocations: 0 / 0.7572 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.3758, allocations: 8 kB / 0.7572 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.3762, allocations: 268.8 kB / 0.7574 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.3763, allocations: 22.62 kB / 0.7574 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.3764, allocations: 16.91 kB / 0.7575 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.3764, allocations: 0 / 0.7575 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3764, allocations: 30.56 kB / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.796e-06/0.3764, allocations: 0 / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.3766, allocations: 41.55 kB / 0.7575 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3767, allocations: 63.39 kB / 0.7576 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.3768, allocations: 89 kB / 0.7577 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3768, allocations: 25.7 kB / 0.7577 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.3769, allocations: 92.06 kB / 0.7578 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.3769, allocations: 0 / 0.7578 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-06/0.3769, allocations: 0 / 0.7578 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3771, allocations: 314.8 kB / 0.7581 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.3771, allocations: 0 / 0.7581 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.3771, allocations: 11.94 kB / 0.7581 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.3772, allocations: 4.062 kB / 0.7581 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-06/0.3772, allocations: 0 / 0.7581 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.562e-05/0.3773, allocations: 41.55 kB / 0.7581 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3773, allocations: 10.34 kB / 0.7581 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3773, allocations: 0 / 0.7581 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3774, allocations: 3.984 kB / 0.7582 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3775, allocations: 12 kB / 0.7582 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3775, allocations: 0 / 0.7582 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.3776, allocations: 15.97 kB / 0.7582 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.667e-06/0.3776, allocations: 0 / 0.7582 GB, free: 3.102 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.716e-05/0.3777, allocations: 105 kB / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3778, allocations: 0 / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.3778, allocations: 3.125 kB / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-06/0.3778, allocations: 0 / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-06/0.3778, allocations: 0 / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-06/0.3778, allocations: 192 / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.378, allocations: 169.5 kB / 0.7584 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-06/0.3781, allocations: 0 / 0.7584 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-05/0.3781, allocations: 8 kB / 0.7585 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-06/0.3782, allocations: 3.984 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3782, allocations: 7.984 kB / 0.7585 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3782, allocations: 4 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-06/0.3782, allocations: 0 / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3784, allocations: 139.5 kB / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.3784, allocations: 77.11 kB / 0.7587 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3784, allocations: 0 / 0.7587 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3786, allocations: 11.98 kB / 0.7587 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3786, allocations: 4 kB / 0.7587 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-06/0.3786, allocations: 0 / 0.7587 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.3787, allocations: 83.27 kB / 0.7588 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.64e-07/0.3787, allocations: 0 / 0.7588 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002821/0.379, allocations: 8.031 kB / 0.7588 GB, free: 2.402 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.0001367/0.3792, allocations: 99.25 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.3792, allocations: 12 kB / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.952e-06/0.3793, allocations: 0 / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.3793, allocations: 11.88 kB / 0.7589 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.3795, allocations: 3.953 kB / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.3797, allocations: 61.11 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3801, allocations: 0.677 MB / 0.7596 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.3801, allocations: 0 / 0.7596 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.3802, allocations: 7.438 kB / 0.7596 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.3802, allocations: 0 / 0.7596 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of Templates: time 0.002482/0.3827, allocations: 344.1 kB / 0.76 GB, free: 1.145 MB / 0.6355 GB