Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.003/3.003, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003738, allocations: 10.94 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3951, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.000798/0.3959, allocations: 318.9 kB / 1.058 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.3962, allocations: 39.84 kB / 1.058 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.3962, allocations: 0 / 1.058 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.3962, allocations: 0 / 1.058 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.3963, allocations: 4 kB / 1.058 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3965, allocations: 7.984 kB / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.709e-05/0.3965, allocations: 4 kB / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.748e-05/0.3966, allocations: 0 / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.3967, allocations: 7.938 kB / 1.058 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.3967, allocations: 4 kB / 1.058 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3967, allocations: 0 / 1.058 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3968, allocations: 19.98 kB / 1.058 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.3969, allocations: 11.97 kB / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.3969, allocations: 25.7 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.397, allocations: 15.98 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.397, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.397, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.397, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 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.0003924/0.3974, allocations: 349 kB / 1.059 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3975, allocations: 12.02 kB / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3975, allocations: 0 / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3977, allocations: 179.2 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3977, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3977, allocations: 3.953 kB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3979, allocations: 53.69 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3979, allocations: 0 / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3979, allocations: 3.938 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.3979, allocations: 8 kB / 1.059 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.398, allocations: 23.98 kB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.3985, allocations: 276.7 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.3985, allocations: 18.58 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.3985, allocations: 4.859 kB / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3986, allocations: 3.984 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3986, allocations: 34.62 kB / 1.059 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 3.677e-06/0.3986, allocations: 3.984 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002417/0.3989, allocations: 67.34 kB / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.3989, allocations: 81.23 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3991, allocations: 117.7 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3991, allocations: 29.7 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.3991, allocations: 99.8 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-06/0.3992, allocations: 4 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3992, allocations: 0 / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3993, allocations: 326.7 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.3994, allocations: 8 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.3994, allocations: 62.86 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.3995, allocations: 53.62 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.3995, allocations: 4 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001571/0.3997, allocations: 115.2 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.3997, allocations: 29.7 kB / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3997, allocations: 4 kB / 1.06 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3998, allocations: 3.938 kB / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.3998, allocations: 16.23 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3999, allocations: 8 kB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.3999, allocations: 7.906 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4, allocations: 4 kB / 1.06 GB, free: 2.668 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.4001, allocations: 155.4 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.4001, allocations: 4 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.4001, allocations: 3.531 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4002, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4002, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4002, allocations: 4 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.4003, allocations: 161.6 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4004, allocations: 3.938 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.4004, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4004, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.4004, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.4004, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4004, allocations: 480 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.4005, allocations: 169.1 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.4006, allocations: 85.14 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4006, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.4007, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.4007, allocations: 4 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.4007, allocations: 11.92 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.4008, allocations: 91.27 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4008, allocations: 0 / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002464/0.401, allocations: 8 kB / 1.061 GB, free: 1.875 MB / 0.8106 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 (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.0002298/0.4013, allocations: 111.2 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.4014, allocations: 83.33 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4014, allocations: 0 / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.4015, allocations: 55.41 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.4017, allocations: 11.95 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.402, allocations: 111.2 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4022, allocations: 0.6848 MB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.4023, allocations: 12.16 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.4024, allocations: 11.44 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of SimCode: time 3.066e-06/0.4024, allocations: 0 / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of Templates: time 0.002796/0.4052, allocations: 497.1 kB / 1.063 GB, free: 236 kB / 0.8106 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches