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.007952/0.007952, allocations: 98.94 kB / 15.73 MB, free: 6.043 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.00167/0.00167, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.783/2.783, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 71.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2958, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00177/0.2976, allocations: 0.5806 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.2979, allocations: 43.86 kB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.2979, allocations: 0 / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.2979, allocations: 0 / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.456e-05/0.298, allocations: 3.938 kB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.2982, allocations: 12 kB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.2983, allocations: 7.984 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.2983, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.2983, allocations: 4 kB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.2984, allocations: 7.938 kB / 1.167 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2984, allocations: 0 / 1.167 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.2985, allocations: 19.98 kB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.2985, allocations: 7.984 kB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.2985, allocations: 3.938 kB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2986, allocations: 28.19 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2987, allocations: 0 / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2987, allocations: 0 / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2987, allocations: 0 / 1.167 GB, free: 6.57 MB / 0.92 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.0003867/0.2991, allocations: 357.1 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2991, allocations: 12.03 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.2991, allocations: 38.69 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.2992, allocations: 0.9375 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2993, allocations: 160.4 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2993, allocations: 384 / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.2993, allocations: 12.3 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.2995, allocations: 58.23 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2995, allocations: 3.938 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2995, allocations: 0 / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.2995, allocations: 8 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.2996, allocations: 31.92 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.3, allocations: 268.8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.3, allocations: 14.58 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.3, allocations: 8.922 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3, allocations: 3.984 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3001, allocations: 38.56 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3001, allocations: 0 / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001858/0.3003, allocations: 71.33 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3003, allocations: 77.11 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.3005, allocations: 117.8 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3005, allocations: 25.7 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.3005, allocations: 103.9 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.3006, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3006, allocations: 26.14 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3008, allocations: 330.8 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.3008, allocations: 4 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.3009, allocations: 58.86 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.301, allocations: 138.1 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.301, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001679/0.3012, allocations: 119.2 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.3012, allocations: 37.64 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3013, allocations: 4 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3013, allocations: 7.984 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.3013, allocations: 8 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3014, allocations: 7.938 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.3014, allocations: 7.953 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3015, allocations: 12.19 kB / 1.169 GB, free: 4.117 MB / 0.92 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.0001152/0.3016, allocations: 151.5 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3016, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.3016, allocations: 7.531 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3016, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3016, allocations: 4 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3017, allocations: 0 / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3018, allocations: 161.7 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3018, allocations: 0 / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3018, allocations: 0 / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3019, allocations: 4 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3019, allocations: 7.938 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3019, allocations: 0 / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3019, allocations: 0 / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.302, allocations: 173.1 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.3021, allocations: 77.11 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3021, allocations: 3.984 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.3022, allocations: 8.031 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.3022, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3022, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.3023, allocations: 99.66 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3023, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002508/0.3025, allocations: 12 kB / 1.17 GB, free: 3.312 MB / 0.92 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.0005153/0.303, allocations: 0.7024 MB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3032, allocations: 83.33 kB / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3032, allocations: 0 / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.3033, allocations: 59.41 kB / 1.17 GB, free: 2.414 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.3035, allocations: 4 kB / 1.17 GB, free: 2.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.3039, allocations: 144.7 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3042, allocations: 0.6807 MB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.514e-05/0.3043, allocations: 7.984 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.3043, allocations: 11.44 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3043, allocations: 0 / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.327, allocations: 1.447 MB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.36, allocations: 4.562 kB / 1.173 GB, free: 196 kB / 0.92 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