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.000785/0.000785, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000801/0.000801, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9248/0.9248, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.735/1.735, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.436e-05, allocations: 4.953 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001633/0.001657, allocations: 0.5916 MB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.001809, allocations: 31.89 kB / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.001823, allocations: 0 / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.001844, allocations: 4 kB / 0.9512 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.001872, allocations: 4 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.002025, allocations: 15.97 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.00208, allocations: 7.984 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 2.572e-05/0.002106, allocations: 0 / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.002129, allocations: 0 / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.002164, allocations: 11.94 kB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.002176, allocations: 0 / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.415e-05/0.00223, allocations: 19.97 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.002252, allocations: 7.938 kB / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.002266, allocations: 4 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.568e-05/0.002341, allocations: 27.91 kB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.002343, allocations: 0 / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002344, allocations: 0 / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.002347, allocations: 0 / 0.9513 GB, free: 2.703 MB / 0.9011 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.0002215/0.002569, allocations: 283.9 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.002598, allocations: 8.031 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.002621, allocations: 38.73 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.00264, allocations: 0.9375 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.875e-05/0.002689, allocations: 109.8 kB / 0.9517 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.002696, allocations: 4.375 kB / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-06/0.002701, allocations: 384 / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.0028, allocations: 79.95 kB / 0.9518 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.002807, allocations: 192 / 0.9518 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.002813, allocations: 4.375 kB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.002833, allocations: 16.09 kB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.002879, allocations: 53.62 kB / 0.9518 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.003107, allocations: 239.8 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.003144, allocations: 44.28 kB / 0.9521 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.003161, allocations: 34.62 kB / 0.9521 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-06/0.003167, allocations: 0 / 0.9521 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.003186, allocations: 38.55 kB / 0.9522 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.003186, allocations: 0 / 0.9522 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.003312, allocations: 122.8 kB / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.003341, allocations: 77.11 kB / 0.9524 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.003399, allocations: 121.8 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.003407, allocations: 25.7 kB / 0.9525 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.003443, allocations: 103.9 kB / 0.9526 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.003448, allocations: 3.953 kB / 0.9526 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.003478, allocations: 25.7 kB / 0.9526 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.003547, allocations: 318.9 kB / 0.9529 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.00357, allocations: 41.69 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.003611, allocations: 84.56 kB / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.003677, allocations: 130.1 kB / 0.9532 GB, free: 428 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003679, allocations: 0 / 0.9532 GB, free: 428 kB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.567e-05/0.003775, allocations: 152.9 kB / 0.9533 GB, free: 256 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.003802, allocations: 32.36 kB / 0.9534 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.003807, allocations: 4 kB / 0.9534 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.003816, allocations: 0 / 0.9534 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.003863, allocations: 12 kB / 0.9534 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.00387, allocations: 15.86 kB / 0.9534 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.003918, allocations: 16.08 kB / 0.9534 GB, free: 172 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.003929, allocations: 12 kB / 0.9534 GB, free: 160 kB / 0.9011 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 5.697e-05/0.003986, allocations: 143.5 kB / 0.9535 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.004012, allocations: 4.047 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.536e-06/0.00402, allocations: 7.406 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.004021, allocations: 0 / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.004025, allocations: 4 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.004027, allocations: 0 / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.703e-05/0.004114, allocations: 128.7 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004115, allocations: 0 / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.004116, allocations: 3.984 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.004117, allocations: 4 kB / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.004121, allocations: 0 / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.004123, allocations: 4 kB / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004123, allocations: 0 / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.649e-05/0.0042, allocations: 194.8 kB / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.004205, allocations: 0 / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.004213, allocations: 4 kB / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.004245, allocations: 0 / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.004254, allocations: 0 / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.004257, allocations: 4 kB / 0.9539 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.004289, allocations: 95.75 kB / 0.954 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.004289, allocations: 4 kB / 0.954 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001587/0.004448, allocations: 8 kB / 0.954 GB, free: 15.47 MB / 0.9167 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.0002664/0.004714, allocations: 0.7313 MB / 0.9547 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.004819, allocations: 138.7 kB / 0.9548 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.00482, allocations: 0 / 0.9548 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.004845, allocations: 85.64 kB / 0.9549 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.004978, allocations: 8.141 kB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.005248, allocations: 176.1 kB / 0.9551 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.005286, allocations: 63.34 kB / 0.9552 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.049e-05/0.005337, allocations: 7.984 kB / 0.9552 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.005354, allocations: 16.44 kB / 0.9552 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.005354, allocations: 0 / 0.9552 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.01839, allocations: 2.098 MB / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.014, allocations: 0 / 0.9572 GB, free: 12.16 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.200599209405482]