Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.463/2.463, allocations: 252.6 MB / 265.2 MB, free: 5.723 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001987/0.001987, allocations: 191.7 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 93.88 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.522e-05/4.538e-05, allocations: 12 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 106.2 MB / 0.8949 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8513/1.057, allocations: 131.1 MB / 1.023 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.057, allocations: 70.02 kB / 1.023 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002957/1.06, allocations: 0.6069 MB / 1.024 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/1.06, allocations: 0 / 1.024 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.888e-05/1.061, allocations: 4 kB / 1.024 GB, free: 2.836 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.0005981/1.061, allocations: 342.8 kB / 1.024 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/1.061, allocations: 8.031 kB / 1.024 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/1.061, allocations: 0 / 1.024 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/1.061, allocations: 167 kB / 1.024 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.062, allocations: 3.688 kB / 1.024 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.062, allocations: 3.984 kB / 1.024 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.062, allocations: 33.14 kB / 1.024 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.062, allocations: 3.938 kB / 1.024 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.062, allocations: 4 kB / 1.024 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.062, allocations: 4 kB / 1.024 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/1.062, allocations: 7.5 kB / 1.024 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/1.063, allocations: 264.7 kB / 1.024 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/1.063, allocations: 18.58 kB / 1.024 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/1.063, allocations: 13.67 kB / 1.024 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/1.063, allocations: 8 kB / 1.024 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.063, allocations: 30.56 kB / 1.024 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.018e-06/1.063, allocations: 2.625 kB / 1.024 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002232/1.063, allocations: 37.23 kB / 1.024 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/1.063, allocations: 55.36 kB / 1.025 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.063, allocations: 96.98 kB / 1.025 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.063, allocations: 29.73 kB / 1.025 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/1.064, allocations: 83.64 kB / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/1.064, allocations: 0 / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/1.064, allocations: 0 / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.064, allocations: 310.8 kB / 1.025 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/1.064, allocations: 7.25 kB / 1.025 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/1.064, allocations: 7.938 kB / 1.025 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/1.064, allocations: 0 / 1.025 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.064, allocations: 4.062 kB / 1.025 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001503/1.064, allocations: 41.06 kB / 1.025 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/1.064, allocations: 4 kB / 1.025 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.064, allocations: 0 / 1.025 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.064, allocations: 4 kB / 1.025 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/1.064, allocations: 7.984 kB / 1.025 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.064, allocations: 0 / 1.025 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/1.065, allocations: 23.23 kB / 1.025 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.065, allocations: 4.031 kB / 1.025 GB, free: 1.07 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 0.0001057/1.065, allocations: 101 kB / 1.025 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/1.065, allocations: 4.188 kB / 1.025 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/1.065, allocations: 14.88 kB / 1.025 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.065, allocations: 7.922 kB / 1.025 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.065, allocations: 0 / 1.025 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.065, allocations: 3.938 kB / 1.025 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/1.065, allocations: 157.5 kB / 1.025 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.065, allocations: 0 / 1.025 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.065, allocations: 19.92 kB / 1.025 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.065, allocations: 0 / 1.025 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.066, allocations: 0 / 1.025 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/1.066, allocations: 0 / 1.025 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.066, allocations: 4 kB / 1.025 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/1.066, allocations: 135.3 kB / 1.026 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/1.066, allocations: 77.11 kB / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.066, allocations: 4.031 kB / 1.026 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/1.066, allocations: 4 kB / 1.026 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/1.066, allocations: 7.984 kB / 1.026 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.066, allocations: 0 / 1.026 GB, free: 472 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.374e-05/1.066, allocations: 85.77 kB / 1.026 GB, free: 392 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.72e-07/1.066, allocations: 0 / 1.026 GB, free: 392 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005189/1.067, allocations: 4 kB / 1.026 GB, free: 388 kB / 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.0002251/1.067, allocations: 99.25 kB / 1.026 GB, free: 280 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001347/1.067, allocations: 15.69 kB / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.067, allocations: 0 / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/1.067, allocations: 0 / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/1.068, allocations: 10.36 kB / 1.026 GB, free: 260 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/1.068, allocations: 56.48 kB / 1.026 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.069, allocations: 0.6849 MB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.139e-05/1.069, allocations: 0 / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/1.069, allocations: 7.438 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/1.069, allocations: 0 / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.004375/1.073, allocations: 346 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB