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.IntegratorWithReset.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01327/0.01327, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001136/0.001136, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.169/2.169, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.278/2.278, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004742, allocations: 20 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5724/0.5729, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.7825, allocations: 125.4 MB / 0.8059 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.7829, allocations: 67.97 kB / 0.8059 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.8032, allocations: 3.385 MB / 0.8092 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.238e-06/0.8033, allocations: 0.875 kB / 0.8092 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.727e-05/0.8034, allocations: 7.938 kB / 0.8092 GB, free: 13.39 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.00116/0.8045, allocations: 455.3 kB / 0.8097 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.8046, allocations: 8.031 kB / 0.8097 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.8047, allocations: 19.8 kB / 0.8097 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.8052, allocations: 222.7 kB / 0.8099 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.8053, allocations: 8 kB / 0.8099 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.8054, allocations: 19.88 kB / 0.8099 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.806, allocations: 153.8 kB / 0.8101 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.8061, allocations: 0 / 0.8101 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.8061, allocations: 4 kB / 0.8101 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.8062, allocations: 4 kB / 0.8101 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.8067, allocations: 87.83 kB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.8089, allocations: 0.7589 MB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.8093, allocations: 62.53 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.8093, allocations: 0 / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/0.8099, allocations: 130.7 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.885e-06/0.8099, allocations: 0 / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001119/0.811, allocations: 181.5 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.8112, allocations: 132.5 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.8116, allocations: 178.8 kB / 0.8116 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.8117, allocations: 29.7 kB / 0.8116 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.8119, allocations: 119.9 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.812, allocations: 39.75 kB / 0.8118 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.812, allocations: 0 / 0.8118 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.8123, allocations: 330.8 kB / 0.8121 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.8126, allocations: 39.97 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.813, allocations: 133.3 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.8134, allocations: 48.17 kB / 0.8123 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.8134, allocations: 4 kB / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009734/0.8144, allocations: 197.1 kB / 0.8125 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.8145, allocations: 8.406 kB / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.8145, allocations: 8 kB / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.8145, allocations: 4 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.8148, allocations: 31.86 kB / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.8149, allocations: 7.984 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.8153, allocations: 35.78 kB / 0.8126 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.8153, allocations: 8 kB / 0.8126 GB, free: 9.652 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 () * Number of clocked 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.0002612/0.8156, allocations: 141.7 kB / 0.8127 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.8157, allocations: 15.81 kB / 0.8127 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.8158, allocations: 25.39 kB / 0.8127 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.951e-06/0.8159, allocations: 0 / 0.8127 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.8159, allocations: 4 kB / 0.8127 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.8159, allocations: 0 / 0.8127 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.8178, allocations: 0.521 MB / 0.8133 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.8178, allocations: 4 kB / 0.8133 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.8182, allocations: 19.92 kB / 0.8133 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.8182, allocations: 8.312 kB / 0.8133 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.8183, allocations: 4 kB / 0.8133 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.8183, allocations: 11.98 kB / 0.8133 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.552e-06/0.8183, allocations: 3.953 kB / 0.8133 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.8196, allocations: 410.7 kB / 0.8137 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.8197, allocations: 100.8 kB / 0.8138 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.8198, allocations: 0 / 0.8138 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.8203, allocations: 19.98 kB / 0.8138 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.8204, allocations: 11.98 kB / 0.8138 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.8205, allocations: 7.984 kB / 0.8138 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002927/0.8208, allocations: 140.6 kB / 0.814 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.507e-06/0.8208, allocations: 0 / 0.814 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008921/0.8217, allocations: 28 kB / 0.814 GB, free: 8.07 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 () * Number of clocked 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.0002874/0.8221, allocations: 116.2 kB / 0.8141 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007971/0.8229, allocations: 115.9 kB / 0.8142 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.827e-06/0.8229, allocations: 0 / 0.8142 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.8233, allocations: 55.91 kB / 0.8143 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.8243, allocations: 64.69 kB / 0.8143 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.8259, allocations: 398.7 kB / 0.8147 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.8265, allocations: 0.7321 MB / 0.8154 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.8267, allocations: 17.91 kB / 0.8154 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.8268, allocations: 15.44 kB / 0.8155 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of SimCode: time 2.505e-06/0.8268, allocations: 0 / 0.8155 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of Templates: time 0.01103/0.8379, allocations: 1.724 MB / 0.8171 GB, free: 4.801 MB / 0.6355 GB