Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_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.008728/0.008728, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.14 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7126, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00155/0.7142, allocations: 0.5843 MB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.7144, allocations: 38.33 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.7145, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.7145, allocations: 0.5625 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.7146, allocations: 5.281 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.7148, allocations: 16.16 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.7148, allocations: 3.453 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.7149, allocations: 2.766 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.7149, allocations: 5.969 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.715, allocations: 5.859 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.715, allocations: 0 / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.7151, allocations: 21.64 kB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.7151, allocations: 5.703 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.7151, allocations: 9.75 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.772e-05/0.7152, allocations: 20.81 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7153, allocations: 0 / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7153, allocations: 0 / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7153, allocations: 1.281 kB / 1.088 GB, free: 4.863 MB / 0.8575 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.0002587/0.7155, allocations: 352.4 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7156, allocations: 15.27 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.244e-05/0.7156, allocations: 33.11 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.7156, allocations: 0.9375 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.7157, allocations: 169 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.7157, allocations: 1.5 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7157, allocations: 1.5 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.7159, allocations: 62.47 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7159, allocations: 5.094 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.7159, allocations: 0.7031 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.7159, allocations: 10.3 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.716, allocations: 23.78 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.7163, allocations: 266 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.7163, allocations: 21.62 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.7163, allocations: 7.984 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.7163, allocations: 0 / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.7164, allocations: 36.33 kB / 1.089 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.7164, allocations: 3.984 kB / 1.089 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.7165, allocations: 72.47 kB / 1.089 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.7166, allocations: 77.81 kB / 1.089 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.7166, allocations: 123.4 kB / 1.089 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.7166, allocations: 26.86 kB / 1.089 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.7167, allocations: 100 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.7167, allocations: 5.688 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.7167, allocations: 31.28 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.7168, allocations: 317.5 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.7168, allocations: 13.7 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.7168, allocations: 64.39 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.7169, allocations: 127.9 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7169, allocations: 1.641 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001293/0.7171, allocations: 124.2 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.7171, allocations: 32.36 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7171, allocations: 2.906 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7171, allocations: 1.469 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.7172, allocations: 12.44 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7172, allocations: 6.953 kB / 1.09 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.7173, allocations: 9.453 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.7173, allocations: 13 kB / 1.09 GB, free: 2.703 MB / 0.8575 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.69e-05/0.7174, allocations: 147 kB / 1.09 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.7174, allocations: 3.125 kB / 1.09 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.7174, allocations: 9.969 kB / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.7174, allocations: 0 / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7174, allocations: 1.188 kB / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7174, allocations: 0 / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.7175, allocations: 157.9 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7175, allocations: 0 / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.7176, allocations: 4.516 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.7176, allocations: 1.188 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7176, allocations: 1.906 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.7176, allocations: 0 / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7176, allocations: 1.219 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.7177, allocations: 172.3 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.7177, allocations: 83 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.7177, allocations: 1.656 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.7178, allocations: 4.516 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.7178, allocations: 1.922 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.7178, allocations: 2.562 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.7178, allocations: 94.22 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7178, allocations: 0 / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002614/0.7181, allocations: 9.25 kB / 1.091 GB, free: 1.98 MB / 0.8575 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.0004683/0.7186, allocations: 0.7005 MB / 1.092 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.7187, allocations: 91.78 kB / 1.092 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7187, allocations: 0 / 1.092 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.7188, allocations: 56.23 kB / 1.092 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.719, allocations: 7.047 kB / 1.092 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.7194, allocations: 147.9 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.7196, allocations: 0.682 MB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.698e-05/0.7197, allocations: 15.53 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.7197, allocations: 13.05 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7197, allocations: 5 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.7354, allocations: 1.434 MB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/8.058, allocations: 12.45 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches