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.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.0007731/0.0007731, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007787/0.0007787, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8735/0.8735, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.829/1.829, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.399e-05, allocations: 9.031 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002033/0.002057, allocations: 0.5983 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002374/0.002294, allocations: 31.83 kB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.00232, allocations: 0 / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.002353, allocations: 4 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.002394, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.002633, allocations: 23.91 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.002711, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.002753, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.002798, allocations: 11.98 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.002844, allocations: 0 / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.002859, allocations: 0 / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.002943, allocations: 15.98 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.002975, allocations: 4 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002996, allocations: 3.938 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003109, allocations: 31.89 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.003113, allocations: 8 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003114, allocations: 0 / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003119, allocations: 0 / 1 GB, free: 12.69 MB / 0.9636 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.0003023/0.003421, allocations: 268.1 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.003465, allocations: 12.75 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.0035, allocations: 34.75 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.003533, allocations: 4.891 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.034e-05/0.003593, allocations: 113.7 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.003606, allocations: 4.312 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.003613, allocations: 384 / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.00375, allocations: 83.95 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.003758, allocations: 4.188 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.003765, allocations: 384 / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.003789, allocations: 8.125 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.003899, allocations: 49.69 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.004163, allocations: 243.9 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.632e-05/0.00421, allocations: 44.22 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004227, allocations: 34.62 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.004233, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.004251, allocations: 34.56 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.004252, allocations: 3.938 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.004399, allocations: 126.7 kB / 1.001 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.004431, allocations: 81.11 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.004495, allocations: 113.8 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.004506, allocations: 29.7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.004546, allocations: 107.9 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.004551, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.004582, allocations: 25.67 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.004653, allocations: 322.8 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.004681, allocations: 33.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.004729, allocations: 88.56 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.004804, allocations: 134.3 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.004808, allocations: 4 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001173/0.004925, allocations: 145 kB / 1.002 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.004958, allocations: 37.62 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.004964, allocations: 4 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.00498, allocations: 0 / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.005044, allocations: 12 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.005051, allocations: 4.469 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.005116, allocations: 11.89 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.005285, allocations: 7.984 kB / 1.003 GB, free: 10.16 MB / 0.9636 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 8.16e-05/0.005367, allocations: 155.6 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.00538, allocations: 4 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.005396, allocations: 3.469 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005399, allocations: 4 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.005405, allocations: 0 / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005407, allocations: 0 / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.005517, allocations: 128.7 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.005519, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.00552, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005521, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.00553, allocations: 4 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005531, allocations: 0 / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.005533, allocations: 4 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.00566, allocations: 190.9 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.00567, allocations: 7.953 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.005683, allocations: 7.922 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.005747, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.005762, allocations: 3.938 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.005767, allocations: 4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.005816, allocations: 95.25 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.005816, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002932/0.00611, allocations: 8 kB / 1.003 GB, free: 9.465 MB / 0.9636 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.0006231/0.006733, allocations: 0.7352 MB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.006952, allocations: 134.7 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.006955, allocations: 0 / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.007, allocations: 93.03 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.007269, allocations: 6.25 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.007789, allocations: 160.9 kB / 1.004 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.007853, allocations: 67.34 kB / 1.004 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.007985, allocations: 11.97 kB / 1.004 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.00802, allocations: 12.5 kB / 1.004 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/0.008021, allocations: 0 / 1.004 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.02723, allocations: 2.08 MB / 1.006 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/6.998, allocations: 9.359 kB / 1.006 GB, free: 6.164 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.187798706814647]