Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 68.14 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.599, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00188/0.601, allocations: 0.5803 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.6012, allocations: 39.88 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.6013, allocations: 3.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.6013, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.6014, allocations: 7.984 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.6015, allocations: 7.938 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.6016, allocations: 11.98 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.6017, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.6017, allocations: 3.984 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.907e-05/0.6017, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.6017, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.6018, allocations: 23.98 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.6019, allocations: 8 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.6019, allocations: 7.875 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.315e-05/0.602, allocations: 23.91 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.602, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.602, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.602, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.7637 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.0002971/0.6023, allocations: 353.2 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6024, allocations: 8.031 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.6024, allocations: 42.75 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.6024, allocations: 4.938 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.6025, allocations: 166.6 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.6026, allocations: 384 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6026, allocations: 384 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6027, allocations: 58.25 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6027, allocations: 3.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.6027, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.6028, allocations: 7.984 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.6028, allocations: 23.98 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.6031, allocations: 268.8 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.6032, allocations: 22.52 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.6032, allocations: 12.86 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.6032, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6032, allocations: 30.56 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6032, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.6034, allocations: 79.33 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6035, allocations: 77.11 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.6035, allocations: 113.8 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.6036, allocations: 25.7 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.6036, allocations: 107.8 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.6036, allocations: 7.922 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.6037, allocations: 21.72 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6038, allocations: 322.9 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.6038, allocations: 11.98 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.6039, allocations: 58.86 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/0.604, allocations: 130.1 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.604, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001494/0.6042, allocations: 127.1 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.6042, allocations: 29.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6042, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6042, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.289e-05/0.6043, allocations: 19.97 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6043, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.6044, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.6044, allocations: 11.88 kB / 1.02 GB, free: 15.26 MB / 0.7794 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.547e-05/0.6045, allocations: 143.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.6046, allocations: 11.89 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.6046, allocations: 7.531 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6046, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6046, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6046, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.6047, allocations: 153.6 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6047, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.6047, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.6048, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.6048, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.6048, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6048, allocations: 3.938 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.6049, allocations: 169.1 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.6049, allocations: 81.11 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.605, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.605, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.605, allocations: 8.031 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.6051, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.6051, allocations: 91.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6051, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002475/0.6054, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 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.0004123/0.6058, allocations: 0.7162 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.6059, allocations: 87.27 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6059, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.606, allocations: 55.41 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.6062, allocations: 2.969 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.6066, allocations: 152.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.6068, allocations: 0.6768 MB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.653e-05/0.6069, allocations: 11.98 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.6069, allocations: 15.44 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.607, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.6236, allocations: 1.4 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.604, allocations: 17.62 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches