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.009337/0.009342, allocations: 105.6 kB / 15.06 MB, free: 5.559 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.001148/0.001148, allocations: 181.7 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.098/2.098, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.274/2.274, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 20 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.5342, allocations: 98.7 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001768/0.536, allocations: 1.401 MB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006767/0.5367, allocations: 310.7 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.5368, allocations: 5.375 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.5369, allocations: 8.016 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.537, allocations: 26.19 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.5372, allocations: 44.44 kB / 0.6851 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.5375, allocations: 109.2 kB / 0.6852 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.5376, allocations: 36.66 kB / 0.6852 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.5377, allocations: 39.86 kB / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.5378, allocations: 42.09 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.5378, allocations: 3.688 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.5378, allocations: 4.531 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.5379, allocations: 24.61 kB / 0.6853 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.5379, allocations: 54.3 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.5381, allocations: 91.66 kB / 0.6855 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.131e-06/0.5381, allocations: 0 / 0.6855 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.985e-06/0.5381, allocations: 0 / 0.6855 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.647e-06/0.5381, allocations: 4 kB / 0.6855 GB, free: 15.36 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.0006213/0.5388, allocations: 452.8 kB / 0.6859 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5388, allocations: 9.672 kB / 0.6859 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.5389, allocations: 24.22 kB / 0.686 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.5391, allocations: 228.1 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5392, allocations: 8.375 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.5392, allocations: 12.25 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.5396, allocations: 150.9 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5396, allocations: 4 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.5396, allocations: 5.703 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.71e-06/0.5396, allocations: 3.688 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.54, allocations: 89.55 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.541, allocations: 0.7387 MB / 0.6872 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.5412, allocations: 61 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5412, allocations: 2.078 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.5415, allocations: 126 kB / 0.6873 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.345e-06/0.5415, allocations: 1.5 kB / 0.6873 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006151/0.5422, allocations: 181.7 kB / 0.6875 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.5422, allocations: 135.9 kB / 0.6876 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.5425, allocations: 203.8 kB / 0.6878 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.5425, allocations: 27.28 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.5426, allocations: 125.5 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.5426, allocations: 34.81 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.5427, allocations: 12 kB / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.5427, allocations: 329.3 kB / 0.6883 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.5429, allocations: 39.73 kB / 0.6884 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.5431, allocations: 134.6 kB / 0.6885 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.5433, allocations: 55.45 kB / 0.6886 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-06/0.5433, allocations: 1.031 kB / 0.6886 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005284/0.5438, allocations: 197.1 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5439, allocations: 10.22 kB / 0.6888 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5439, allocations: 4.484 kB / 0.6888 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5439, allocations: 4.625 kB / 0.6888 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.5441, allocations: 25.91 kB / 0.6888 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.5441, allocations: 13.39 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.5443, allocations: 31.78 kB / 0.6888 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.5443, allocations: 11.41 kB / 0.6888 GB, free: 12.61 MB / 0.5261 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,sampleTrigger.y,$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.0001166/0.5445, allocations: 128.1 kB / 0.689 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.5445, allocations: 16.81 kB / 0.689 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.5446, allocations: 21.36 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-06/0.5446, allocations: 6.297 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-06/0.5446, allocations: 2.375 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.796e-06/0.5446, allocations: 6.078 kB / 0.689 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.5458, allocations: 0.5232 MB / 0.6895 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.667e-06/0.5459, allocations: 0 / 0.6895 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.5462, allocations: 25.94 kB / 0.6896 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.5462, allocations: 2.688 kB / 0.6896 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.5462, allocations: 2.891 kB / 0.6896 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.579e-06/0.5463, allocations: 10.55 kB / 0.6896 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.927e-06/0.5463, allocations: 5.25 kB / 0.6896 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.5473, allocations: 407.9 kB / 0.69 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.5474, allocations: 91 kB / 0.69 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.5474, allocations: 7.266 kB / 0.6901 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.5479, allocations: 20.45 kB / 0.6901 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.548, allocations: 18.84 kB / 0.6901 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.5481, allocations: 4.078 kB / 0.6901 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002716/0.5484, allocations: 141.4 kB / 0.6902 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.106e-06/0.5484, allocations: 1 kB / 0.6902 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009716/0.5494, allocations: 24.78 kB / 0.6903 GB, free: 11.47 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.pulseStart,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.0002407/0.5497, allocations: 122.3 kB / 0.6904 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007249/0.5504, allocations: 116.2 kB / 0.6905 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.605e-06/0.5504, allocations: 1.062 kB / 0.6905 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.5507, allocations: 54.12 kB / 0.6905 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.5516, allocations: 69.88 kB / 0.6906 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5528, allocations: 397.9 kB / 0.691 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5532, allocations: 0.7291 MB / 0.6917 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.5534, allocations: 13.59 kB / 0.6917 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.5535, allocations: 17.42 kB / 0.6917 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of SimCode: time 2.177e-06/0.5535, allocations: 0 / 0.6917 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.008922/0.5625, allocations: 1.718 MB / 0.6934 GB, free: 10.15 MB / 0.5261 GB