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.IntegratorWithReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.015/4.015, allocations: 433.4 MB / 440.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.07e-05, allocations: 8 kB / 0.5325 GB, free: 1.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4939, allocations: 98.71 MB / 0.6289 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.6846, allocations: 124.7 MB / 0.7507 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.6848, allocations: 71.95 kB / 0.7508 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01147/0.6963, allocations: 3.361 MB / 0.7541 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.189e-06/0.6964, allocations: 3.984 kB / 0.7541 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.6964, allocations: 7.938 kB / 0.7541 GB, free: 15.38 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00067/0.6971, allocations: 426.7 kB / 0.7545 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6972, allocations: 8.031 kB / 0.7545 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.6972, allocations: 15.81 kB / 0.7545 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.6975, allocations: 222.7 kB / 0.7547 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.6976, allocations: 4 kB / 0.7547 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.6976, allocations: 16 kB / 0.7547 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001379/0.6978, allocations: 36 kB / 0.7548 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.698, allocations: 119.6 kB / 0.7549 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6981, allocations: 0 / 0.7549 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.6981, allocations: 4 kB / 0.7549 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-06/0.6981, allocations: 0 / 0.7549 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.6993, allocations: 0.7282 MB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.6994, allocations: 34.56 kB / 0.7556 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.6995, allocations: 20.86 kB / 0.7557 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.6995, allocations: 4 kB / 0.7557 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.6998, allocations: 103.6 kB / 0.7558 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 5.191e-06/0.6998, allocations: 0 / 0.7558 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002836/0.7001, allocations: 101.4 kB / 0.7558 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.7002, allocations: 136.5 kB / 0.756 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.7004, allocations: 154.7 kB / 0.7561 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.7004, allocations: 25.7 kB / 0.7562 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.7006, allocations: 115.9 kB / 0.7563 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.7006, allocations: 39.45 kB / 0.7563 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-06/0.7006, allocations: 0 / 0.7563 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7008, allocations: 326.8 kB / 0.7566 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.7009, allocations: 20 kB / 0.7566 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.701, allocations: 119.9 kB / 0.7567 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.486e-05/0.7011, allocations: 31.98 kB / 0.7568 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-06/0.7012, allocations: 0 / 0.7568 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003145/0.7015, allocations: 141.4 kB / 0.7569 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7015, allocations: 4 kB / 0.7569 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7015, allocations: 4 kB / 0.7569 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.7016, allocations: 4.094 kB / 0.7569 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.7017, allocations: 39.91 kB / 0.757 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7018, allocations: 7.984 kB / 0.757 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.702, allocations: 20.27 kB / 0.757 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.702, allocations: 8 kB / 0.757 GB, free: 12.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001112/0.7021, allocations: 116.8 kB / 0.7571 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.7022, allocations: 19.81 kB / 0.7571 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.7022, allocations: 17.83 kB / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.7022, allocations: 4 kB / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.635e-06/0.7023, allocations: 0 / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.783e-06/0.7023, allocations: 0 / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.7031, allocations: 474.3 kB / 0.7576 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-06/0.7031, allocations: 128 / 0.7576 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.7033, allocations: 27.92 kB / 0.7576 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.415e-06/0.7033, allocations: 0 / 0.7576 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.7034, allocations: 8 kB / 0.7576 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-06/0.7034, allocations: 4 kB / 0.7576 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7034, allocations: 0 / 0.7576 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.7039, allocations: 353.3 kB / 0.758 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.7039, allocations: 88.92 kB / 0.7581 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.704, allocations: 4.031 kB / 0.7581 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.7042, allocations: 25.31 kB / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.7043, allocations: 7.984 kB / 0.7581 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.7043, allocations: 4 kB / 0.7581 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001177/0.7045, allocations: 120.1 kB / 0.7582 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.67e-07/0.7045, allocations: 0 / 0.7582 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004547/0.7049, allocations: 27.94 kB / 0.7582 GB, free: 10.68 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001874/0.7051, allocations: 107.2 kB / 0.7583 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.7054, allocations: 67.88 kB / 0.7584 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.59e-06/0.7054, allocations: 0.8125 kB / 0.7584 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.7055, allocations: 39.92 kB / 0.7584 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.706, allocations: 64.12 kB / 0.7585 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.7067, allocations: 263.7 kB / 0.7588 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.7072, allocations: 0.728 MB / 0.7595 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.266e-05/0.7073, allocations: 13.34 kB / 0.7595 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.7073, allocations: 15.44 kB / 0.7595 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of SimCode: time 1.376e-06/0.7073, allocations: 0 / 0.7595 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of Templates: time 0.005769/0.7131, allocations: 1.567 MB / 0.761 GB, free: 7.789 MB / 0.6355 GB