Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001966/0.001966, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.00275/0.00275, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.637/1.637, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.359/3.359, allocations: 0.49 GB / 0.7916 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_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.002025/0.002025, allocations: 74.3 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3261, allocations: 176.1 MB / 1.321 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00169/0.3277, allocations: 0.5904 MB / 1.321 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002228/0.328, allocations: 35.88 kB / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.328, allocations: 0 / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.328, allocations: 0 / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.328, allocations: 7.938 kB / 1.321 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.3282, allocations: 15.98 kB / 1.321 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.3283, allocations: 4 kB / 1.321 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.3283, allocations: 0 / 1.321 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.3283, allocations: 0 / 1.321 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.3284, allocations: 7.984 kB / 1.321 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.3284, allocations: 0 / 1.321 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.3285, allocations: 19.98 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.3285, allocations: 7.938 kB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.3285, allocations: 7.922 kB / 1.322 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.823e-05/0.3286, allocations: 20.2 kB / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3286, allocations: 0 / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3286, allocations: 4 kB / 1.322 GB, free: 2.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3286, allocations: 4 kB / 1.322 GB, free: 2.535 MB / 1.014 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.0003868/0.329, allocations: 349.2 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3291, allocations: 11.98 kB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.3291, allocations: 38.67 kB / 1.322 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.3291, allocations: 12.83 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3292, allocations: 160.4 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3293, allocations: 8.312 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3293, allocations: 384 / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3294, allocations: 58.25 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3294, allocations: 7.938 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3294, allocations: 0 / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.3294, allocations: 7.984 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.3295, allocations: 31.91 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3299, allocations: 264.8 kB / 1.322 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.3299, allocations: 18.58 kB / 1.322 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.3299, allocations: 12.84 kB / 1.322 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.3299, allocations: 4.062 kB / 1.322 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.33, allocations: 30.56 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.33, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001753/0.3301, allocations: 67.34 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.3302, allocations: 81.11 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.3303, allocations: 113.8 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3303, allocations: 29.83 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.3304, allocations: 107.9 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.3304, allocations: 0 / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3305, allocations: 29.66 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3306, allocations: 318.8 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.3306, allocations: 11.98 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.3307, allocations: 63.27 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3308, allocations: 134.1 kB / 1.323 GB, free: 304 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3308, allocations: 0 / 1.323 GB, free: 304 kB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001588/0.331, allocations: 119.2 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.331, allocations: 29.7 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.331, allocations: 4 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.331, allocations: 4.25 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.3311, allocations: 16 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3311, allocations: 4.406 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.3311, allocations: 15.94 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3312, allocations: 7.938 kB / 1.324 GB, free: 84 kB / 1.014 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.0001149/0.3313, allocations: 143.5 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.3313, allocations: 4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.3313, allocations: 3.531 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3313, allocations: 7.922 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.3313, allocations: 4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3313, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3315, allocations: 169.5 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3315, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3315, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3315, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.3315, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3315, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3315, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3317, allocations: 173.1 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.3317, allocations: 85.06 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3317, allocations: 4 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.3318, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3318, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3318, allocations: 4 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.3318, allocations: 99.19 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3318, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002454/0.3321, allocations: 8 kB / 1.324 GB, free: 15.28 MB / 1.029 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.0004691/0.3326, allocations: 0.7064 MB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3327, allocations: 83.8 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3327, allocations: 64 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.3327, allocations: 63.39 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3329, allocations: 11.75 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.3333, allocations: 153.5 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3336, allocations: 0.6768 MB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.931e-05/0.3337, allocations: 15.97 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.3338, allocations: 7.5 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3338, allocations: 4 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.3564, allocations: 1.449 MB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.565, allocations: 7.734 kB / 1.327 GB, free: 12.13 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.733224254101515]