Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01534/0.01535, allocations: 107 kB / 15.06 MB, free: 5.562 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.001794/0.001794, allocations: 185 kB / 15.95 MB, free: 5.523 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.135/2.135, allocations: 194.5 MB / 211.3 MB, free: 10.96 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.175/2.175, allocations: 236.1 MB / 492.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004805, allocations: 12 kB / 0.5869 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.539, allocations: 98.72 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001917/0.5409, allocations: 1.468 MB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.542, allocations: 0.5407 MB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.5421, allocations: 5.438 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.5421, allocations: 11.92 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.5423, allocations: 27.67 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.5425, allocations: 55.28 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.5427, allocations: 118.5 kB / 0.6855 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.5429, allocations: 36.98 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.543, allocations: 46.97 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.5431, allocations: 42.92 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.5431, allocations: 4.219 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.5431, allocations: 4.438 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.5432, allocations: 24.88 kB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.5432, allocations: 47.11 kB / 0.6857 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.5434, allocations: 84.88 kB / 0.6858 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.62e-06/0.5434, allocations: 0 / 0.6858 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.876e-06/0.5434, allocations: 1.562 kB / 0.6858 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.045e-06/0.5434, allocations: 0 / 0.6858 GB, free: 15.1 MB / 0.5261 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.0006581/0.5441, allocations: 455 kB / 0.6862 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5441, allocations: 9.828 kB / 0.6862 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.5442, allocations: 24.8 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.5445, allocations: 217.8 kB / 0.6865 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.5445, allocations: 13.16 kB / 0.6865 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.5445, allocations: 12.16 kB / 0.6865 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.5449, allocations: 149.3 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5449, allocations: 5.219 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.545, allocations: 9.531 kB / 0.6866 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-06/0.545, allocations: 7.609 kB / 0.6866 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.5453, allocations: 77.62 kB / 0.6867 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.5463, allocations: 0.7436 MB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.5465, allocations: 56.67 kB / 0.6875 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5465, allocations: 2.281 kB / 0.6875 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.5468, allocations: 123.5 kB / 0.6876 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.759e-06/0.5469, allocations: 3.938 kB / 0.6876 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006465/0.5475, allocations: 181.8 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5476, allocations: 136.6 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.5478, allocations: 203.8 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5478, allocations: 27.08 kB / 0.6881 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.5479, allocations: 133.3 kB / 0.6883 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.548, allocations: 31.98 kB / 0.6883 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.548, allocations: 9.219 kB / 0.6883 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.5481, allocations: 328.4 kB / 0.6886 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5482, allocations: 41.64 kB / 0.6887 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.5485, allocations: 144.2 kB / 0.6888 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.5487, allocations: 71.16 kB / 0.6889 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.054e-06/0.5487, allocations: 1.219 kB / 0.6889 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005292/0.5492, allocations: 213.3 kB / 0.6891 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5492, allocations: 12.06 kB / 0.6891 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5493, allocations: 3.531 kB / 0.6891 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5493, allocations: 9.547 kB / 0.6891 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5495, allocations: 40.53 kB / 0.6891 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.5495, allocations: 14.78 kB / 0.6892 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5497, allocations: 32.09 kB / 0.6892 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.5498, allocations: 13.12 kB / 0.6892 GB, free: 12.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,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 (21): * Single equations (assignments): 21 * 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.0001169/0.5499, allocations: 132.8 kB / 0.6893 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5499, allocations: 16.88 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.55, allocations: 20.95 kB / 0.6894 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-06/0.55, allocations: 3.219 kB / 0.6894 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.55, allocations: 9.609 kB / 0.6894 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.355e-06/0.5501, allocations: 1.266 kB / 0.6894 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/0.551, allocations: 0.5276 MB / 0.6899 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-06/0.551, allocations: 0 / 0.6899 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5512, allocations: 18.47 kB / 0.6899 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.77e-06/0.5512, allocations: 5.797 kB / 0.6899 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5513, allocations: 7.094 kB / 0.6899 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.447e-06/0.5513, allocations: 2.562 kB / 0.6899 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-06/0.5513, allocations: 0.5625 kB / 0.6899 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.5519, allocations: 417.1 kB / 0.6903 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.552, allocations: 95.48 kB / 0.6904 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.552, allocations: 2.938 kB / 0.6904 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.5523, allocations: 23.25 kB / 0.6904 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.5524, allocations: 11.3 kB / 0.6904 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.5524, allocations: 9.25 kB / 0.6905 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001436/0.5525, allocations: 135.7 kB / 0.6906 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.71e-07/0.5525, allocations: 0 / 0.6906 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000482/0.553, allocations: 35.38 kB / 0.6906 GB, free: 11.15 MB / 0.5261 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.pulsStart,sampleTrigger.y,$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.0001231/0.5532, allocations: 111.9 kB / 0.6907 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.5536, allocations: 122.1 kB / 0.6908 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5537, allocations: 1.062 kB / 0.6908 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.5539, allocations: 57.19 kB / 0.6909 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.5544, allocations: 54.73 kB / 0.691 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.5551, allocations: 395.5 kB / 0.6913 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5553, allocations: 0.7266 MB / 0.692 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.5554, allocations: 15.77 kB / 0.6921 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.5555, allocations: 21.59 kB / 0.6921 GB, free: 10 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/0.5555, allocations: 3.938 kB / 0.6921 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of Templates: time 0.006395/0.5619, allocations: 1.734 MB / 0.6938 GB, free: 9.844 MB / 0.5261 GB