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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 112.9 kB / 17.54 MB, free: 4.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 185.9 kB / 20.71 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.527/2.527, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 63.91 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7596, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001504/0.7611, allocations: 0.6067 MB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.7613, allocations: 34.22 kB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.7613, allocations: 0.8125 kB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.7614, allocations: 8.781 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.7614, allocations: 1.562 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.7616, allocations: 11.02 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.7617, allocations: 5.812 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.7617, allocations: 1.594 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.566e-05/0.7617, allocations: 6.859 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.7618, allocations: 2.453 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.7618, allocations: 0 / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.7618, allocations: 16.75 kB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.7619, allocations: 9.484 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.7619, allocations: 13.45 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.762, allocations: 21 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.762, allocations: 0.7188 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.762, allocations: 0 / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.762, allocations: 0 / 1.272 GB, free: 7.285 MB / 0.9981 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.0002359/0.7622, allocations: 361.9 kB / 1.272 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7623, allocations: 9.5 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.859e-05/0.7623, allocations: 32.8 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.7623, allocations: 3.234 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.501e-05/0.7624, allocations: 165.8 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7624, allocations: 5.156 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.7624, allocations: 1.875 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.7625, allocations: 55.03 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7625, allocations: 4.562 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.7625, allocations: 5.328 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.7625, allocations: 6.047 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.7626, allocations: 27.44 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.7628, allocations: 266.1 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.7628, allocations: 21.66 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.7629, allocations: 11.59 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.7629, allocations: 0 / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.7629, allocations: 32.53 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.7629, allocations: 0 / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.763, allocations: 71.52 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.763, allocations: 86.56 kB / 1.273 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.7631, allocations: 115.1 kB / 1.273 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.7631, allocations: 30.91 kB / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.7631, allocations: 100.8 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.7631, allocations: 5.984 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.7632, allocations: 22.55 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.7632, allocations: 317.7 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.7632, allocations: 13.2 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.7633, allocations: 65.2 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.7633, allocations: 132.3 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7633, allocations: 0.6562 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001268/0.7634, allocations: 120.5 kB / 1.274 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7635, allocations: 32.22 kB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7635, allocations: 3.609 kB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7635, allocations: 2.406 kB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.7635, allocations: 11.59 kB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7636, allocations: 6.953 kB / 1.274 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.7636, allocations: 12.62 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.7636, allocations: 9.562 kB / 1.274 GB, free: 5.129 MB / 0.9981 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 4.832e-05/0.7637, allocations: 143 kB / 1.274 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.7637, allocations: 6.344 kB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.7637, allocations: 10.53 kB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.7637, allocations: 0 / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.7637, allocations: 4.812 kB / 1.274 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.7637, allocations: 0 / 1.274 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.7638, allocations: 158.1 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7638, allocations: 0.5625 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.7638, allocations: 0 / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.7638, allocations: 0.7812 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.7638, allocations: 2.234 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.7638, allocations: 4 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7638, allocations: 0.8438 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.459e-05/0.7639, allocations: 172.5 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.7639, allocations: 78.5 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.7639, allocations: 1.516 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.764, allocations: 2.25 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.764, allocations: 0.8438 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.764, allocations: 7.219 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.764, allocations: 101.5 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.764, allocations: 0 / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002289/0.7642, allocations: 13.25 kB / 1.275 GB, free: 4.395 MB / 0.9981 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.0002428/0.7645, allocations: 0.7052 MB / 1.276 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.7646, allocations: 87.92 kB / 1.276 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7646, allocations: 0 / 1.276 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.7646, allocations: 55.98 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.7648, allocations: 2.656 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.7651, allocations: 148.1 kB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.7653, allocations: 0.6788 MB / 1.277 GB, free: 18.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.411e-05/0.7654, allocations: 16.25 kB / 1.277 GB, free: 18.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.7654, allocations: 13.02 kB / 1.277 GB, free: 18.7 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7654, allocations: 1.031 kB / 1.277 GB, free: 18.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.7873, allocations: 1.422 MB / 1.278 GB, free: 18.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.831, allocations: 4.453 kB / 1.278 GB, free: 18.32 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.23651221000182]