Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.269/2.269, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001095/0.001095, allocations: 179.2 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.295/1.295, allocations: 225.7 MB / 0.6743 GB, free: 12.52 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.0008013/0.0008013, allocations: 95.47 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 12 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5778, allocations: 121.3 MB / 1.041 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006748/0.5785, allocations: 329.4 kB / 1.041 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.5788, allocations: 196.6 kB / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.5788, allocations: 0 / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.5788, allocations: 0 / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.712e-05/0.5789, allocations: 1.891 kB / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.579, allocations: 13.59 kB / 1.041 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.935e-05/0.5791, allocations: 5.766 kB / 1.041 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.5791, allocations: 1.531 kB / 1.041 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.5791, allocations: 4.406 kB / 1.041 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.5792, allocations: 9.359 kB / 1.041 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.5792, allocations: 0 / 1.041 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.5793, allocations: 23.55 kB / 1.041 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.5793, allocations: 2.75 kB / 1.041 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.5793, allocations: 33.45 kB / 1.041 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.216e-05/0.5794, allocations: 20.95 kB / 1.041 GB, free: 57.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5794, allocations: 0 / 1.041 GB, free: 57.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5794, allocations: 0 / 1.041 GB, free: 57.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.5794, allocations: 0 / 1.041 GB, free: 57.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002256/0.5797, allocations: 351.8 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5797, allocations: 9.422 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.5797, allocations: 3.156 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.927e-05/0.5798, allocations: 170.3 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.5798, allocations: 0.9062 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.5798, allocations: 3.156 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.58, allocations: 62.66 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.58, allocations: 192 / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.58, allocations: 6 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.58, allocations: 6.516 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.5801, allocations: 25.12 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.5803, allocations: 261.4 kB / 1.042 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.5804, allocations: 26.52 kB / 1.042 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.5804, allocations: 8.797 kB / 1.042 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-06/0.5804, allocations: 0.9688 kB / 1.042 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.5804, allocations: 34.75 kB / 1.042 GB, free: 56.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.5804, allocations: 0 / 1.042 GB, free: 56.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.5806, allocations: 66.91 kB / 1.042 GB, free: 56.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.5806, allocations: 83.17 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.5807, allocations: 114.4 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.5807, allocations: 30.3 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.5807, allocations: 101.3 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.5807, allocations: 11.81 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.5807, allocations: 1.312 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.5808, allocations: 318.3 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.5808, allocations: 14.81 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.5809, allocations: 56.78 kB / 1.043 GB, free: 55.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.5809, allocations: 132.1 kB / 1.043 GB, free: 55.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5809, allocations: 1.281 kB / 1.043 GB, free: 55.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.5811, allocations: 111.7 kB / 1.043 GB, free: 55.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5811, allocations: 37.84 kB / 1.043 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5811, allocations: 2.031 kB / 1.043 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.5811, allocations: 8.688 kB / 1.043 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.5812, allocations: 10.31 kB / 1.043 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5812, allocations: 5.938 kB / 1.043 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.5813, allocations: 19.5 kB / 1.043 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5813, allocations: 7.219 kB / 1.043 GB, free: 55.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.564e-05/0.5814, allocations: 150.1 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.5814, allocations: 4.797 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-06/0.5814, allocations: 4.438 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5814, allocations: 0 / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.5814, allocations: 0 / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5814, allocations: 3 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.695e-05/0.5815, allocations: 167.6 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5815, allocations: 0 / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.5815, allocations: 0 / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5815, allocations: 4 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.5815, allocations: 0 / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5815, allocations: 1.594 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5816, allocations: 0 / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.552e-05/0.5816, allocations: 166.2 kB / 1.044 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.5817, allocations: 85.05 kB / 1.044 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.5817, allocations: 1.031 kB / 1.044 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.5817, allocations: 1.125 kB / 1.044 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.5818, allocations: 3.594 kB / 1.044 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.5818, allocations: 7.688 kB / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.5818, allocations: 92.28 kB / 1.044 GB, free: 54.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5818, allocations: 0 / 1.044 GB, free: 54.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002311/0.582, allocations: 13.97 kB / 1.044 GB, free: 54.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001213/0.5822, allocations: 116.9 kB / 1.044 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.5823, allocations: 83.16 kB / 1.044 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5823, allocations: 0 / 1.044 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.5823, allocations: 58.39 kB / 1.044 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.5825, allocations: 5.578 kB / 1.044 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.5827, allocations: 118 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.5828, allocations: 0.68 MB / 1.045 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.178e-05/0.5829, allocations: 13.05 kB / 1.045 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-06/0.5829, allocations: 7.438 kB / 1.045 GB, free: 53.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5829, allocations: 2.406 kB / 1.045 GB, free: 53.94 MB / 0.698 GB Notification: Performance of Templates: time 0.002384/0.5853, allocations: 0.4952 MB / 1.046 GB, free: 53.88 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)