Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 210.1 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.8 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 73.17 kB / 1.117 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3984, allocations: 169.9 MB / 1.283 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001753/0.4002, allocations: 0.5972 MB / 1.284 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.4004, allocations: 39.86 kB / 1.284 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.4004, allocations: 3.938 kB / 1.284 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.4005, allocations: 0 / 1.284 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.4005, allocations: 4 kB / 1.284 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.4007, allocations: 15.98 kB / 1.284 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.4008, allocations: 3.984 kB / 1.284 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.4008, allocations: 4 kB / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.4009, allocations: 0 / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.4009, allocations: 0 / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.4009, allocations: 7.938 kB / 1.284 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.401, allocations: 23.97 kB / 1.284 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.401, allocations: 0 / 1.284 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.401, allocations: 7.938 kB / 1.284 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.4011, allocations: 28.12 kB / 1.284 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4011, allocations: 7.938 kB / 1.284 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4011, allocations: 0 / 1.284 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.4011, allocations: 0 / 1.284 GB, free: 3.039 MB / 0.9825 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.0003344/0.4015, allocations: 276.5 kB / 1.284 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4015, allocations: 8.031 kB / 1.284 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.4016, allocations: 30.75 kB / 1.284 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.4016, allocations: 12.88 kB / 1.284 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.4017, allocations: 106.5 kB / 1.285 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.4017, allocations: 384 / 1.285 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4017, allocations: 8.375 kB / 1.285 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4018, allocations: 58.25 kB / 1.285 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4018, allocations: 3.938 kB / 1.285 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4018, allocations: 0 / 1.285 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.4019, allocations: 11.88 kB / 1.285 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.4019, allocations: 27.98 kB / 1.285 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.4022, allocations: 243.8 kB / 1.285 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.4023, allocations: 22.58 kB / 1.285 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.4023, allocations: 8.922 kB / 1.285 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.4023, allocations: 0 / 1.285 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4023, allocations: 30.56 kB / 1.285 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.4023, allocations: 3.938 kB / 1.285 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.4025, allocations: 67.39 kB / 1.285 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4026, allocations: 77.11 kB / 1.285 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.4027, allocations: 122 kB / 1.285 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4027, allocations: 29.7 kB / 1.285 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.4027, allocations: 111.9 kB / 1.285 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.4027, allocations: 0 / 1.285 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.4028, allocations: 21.72 kB / 1.285 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4029, allocations: 322.8 kB / 1.286 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.403, allocations: 8 kB / 1.286 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.403, allocations: 66.8 kB / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.4031, allocations: 122.2 kB / 1.286 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4031, allocations: 4 kB / 1.286 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001517/0.4033, allocations: 123.1 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4033, allocations: 29.7 kB / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4033, allocations: 4.25 kB / 1.286 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4033, allocations: 7.938 kB / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.4034, allocations: 19.92 kB / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4034, allocations: 4 kB / 1.286 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.4035, allocations: 4 kB / 1.286 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.4035, allocations: 7.938 kB / 1.286 GB, free: 0.7891 MB / 0.9825 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 0.0001132/0.4036, allocations: 147.5 kB / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.4036, allocations: 7.953 kB / 1.286 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.4036, allocations: 3.469 kB / 1.286 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4036, allocations: 4 kB / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4036, allocations: 4 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.4036, allocations: 0 / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.4038, allocations: 128.7 kB / 1.286 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4038, allocations: 0 / 1.286 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4038, allocations: 3.938 kB / 1.286 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4038, allocations: 0 / 1.286 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.4038, allocations: 0 / 1.286 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4038, allocations: 7.938 kB / 1.286 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4038, allocations: 0 / 1.286 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.4039, allocations: 169.2 kB / 1.287 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.4039, allocations: 0 / 1.287 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.404, allocations: 0 / 1.287 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.404, allocations: 4 kB / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.404, allocations: 3.984 kB / 1.287 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.404, allocations: 8 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.4041, allocations: 87.22 kB / 1.287 GB, free: 144 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4041, allocations: 0 / 1.287 GB, free: 144 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002363/0.4043, allocations: 16.03 kB / 1.287 GB, free: 128 kB / 0.9825 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.0005377/0.4049, allocations: 0.7063 MB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4051, allocations: 83.8 kB / 1.287 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4051, allocations: 4.062 kB / 1.287 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.4051, allocations: 55.41 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.4053, allocations: 1.547 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.4057, allocations: 146.5 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4061, allocations: 0.6807 MB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.381e-05/0.4061, allocations: 15.98 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.4062, allocations: 15.44 kB / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4062, allocations: 0 / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.435, allocations: 1.568 MB / 1.29 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.06, allocations: 6.688 kB / 1.29 GB, free: 12.87 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.152672394000547]