Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.707/1.707, allocations: 306.1 MB / 321.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 191.4 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007402/0.00074, allocations: 90.81 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 12 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5127, allocations: 121.3 MB / 1.041 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00185/0.5146, allocations: 1.492 MB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.5154, allocations: 0.512 MB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.5155, allocations: 2.906 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.5157, allocations: 17.64 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.5158, allocations: 21.36 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.516, allocations: 55.75 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.5162, allocations: 166.6 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5163, allocations: 51.64 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.5164, allocations: 42.89 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.5165, allocations: 49.62 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.5165, allocations: 2.156 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.5165, allocations: 9.094 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.5166, allocations: 23.69 kB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.5166, allocations: 81.88 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.5168, allocations: 124.3 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5168, allocations: 0 / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5168, allocations: 0 / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5168, allocations: 0 / 1.043 GB, free: 56.32 MB / 0.698 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.0005961/0.5174, allocations: 455.4 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5175, allocations: 9.625 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.5175, allocations: 20.16 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.5177, allocations: 236.6 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5178, allocations: 8.719 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.5178, allocations: 13.38 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.5181, allocations: 152.2 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5181, allocations: 7.875 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.5181, allocations: 4 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5182, allocations: 1.281 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.5184, allocations: 80.09 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.5192, allocations: 0.7417 MB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.5194, allocations: 50.11 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5195, allocations: 41.02 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.5195, allocations: 8.359 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.5198, allocations: 138.1 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.5198, allocations: 0 / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004737/0.5203, allocations: 181.9 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.5204, allocations: 134.6 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.5205, allocations: 200.9 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.5206, allocations: 32.84 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.5206, allocations: 119.5 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.5207, allocations: 44.12 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.5207, allocations: 0 / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.5207, allocations: 329.3 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.5209, allocations: 45.06 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.521, allocations: 156.7 kB / 1.047 GB, free: 53.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.5213, allocations: 217.1 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5213, allocations: 0 / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003573/0.5217, allocations: 215.4 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5217, allocations: 6.75 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.5217, allocations: 5.562 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5218, allocations: 3.594 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5219, allocations: 41.72 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5219, allocations: 9.047 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5221, allocations: 32.53 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5221, allocations: 11.66 kB / 1.047 GB, free: 53.38 MB / 0.698 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.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.5222, allocations: 135.3 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5222, allocations: 27.69 kB / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.5223, allocations: 24.27 kB / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5223, allocations: 1.875 kB / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5223, allocations: 2.688 kB / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5223, allocations: 0 / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.523, allocations: 0.5265 MB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.523, allocations: 0 / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5231, allocations: 20.45 kB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5231, allocations: 0 / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5231, allocations: 2.656 kB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5232, allocations: 7.734 kB / 1.048 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5232, allocations: 7.875 kB / 1.048 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.5236, allocations: 378.5 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.5236, allocations: 91.89 kB / 1.048 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.5237, allocations: 5.484 kB / 1.048 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5239, allocations: 20.05 kB / 1.048 GB, free: 52.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.5239, allocations: 20.91 kB / 1.048 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5239, allocations: 5.25 kB / 1.048 GB, free: 52.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.199e-05/0.524, allocations: 146.1 kB / 1.048 GB, free: 52.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.524, allocations: 0 / 1.048 GB, free: 52.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002944/0.5243, allocations: 29.34 kB / 1.048 GB, free: 52.28 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.5244, allocations: 114.2 kB / 1.049 GB, free: 52.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.5248, allocations: 130.8 kB / 1.049 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5248, allocations: 1 kB / 1.049 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5249, allocations: 53.11 kB / 1.049 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.5255, allocations: 59.31 kB / 1.049 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.526, allocations: 402 kB / 1.049 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.5261, allocations: 0.7223 MB / 1.05 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.068e-05/0.5262, allocations: 17.72 kB / 1.05 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.5263, allocations: 18.05 kB / 1.05 GB, free: 51.12 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.5263, allocations: 4 kB / 1.05 GB, free: 51.11 MB / 0.698 GB Notification: Performance of Templates: time 0.00466/0.5309, allocations: 1.799 MB / 1.052 GB, free: 50.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)