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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007323/0.007324, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001941/0.001941, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 68.11 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7795, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001847/0.7814, allocations: 0.5824 MB / 1.221 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.7816, allocations: 41.84 kB / 1.221 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.7817, allocations: 4 kB / 1.221 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.7817, allocations: 3.984 kB / 1.221 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.7818, allocations: 0 / 1.221 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.782, allocations: 11.94 kB / 1.221 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.7821, allocations: 11.98 kB / 1.221 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.7821, allocations: 0 / 1.221 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.7821, allocations: 7.938 kB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.7822, allocations: 0 / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.7822, allocations: 0 / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.7823, allocations: 15.98 kB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.7823, allocations: 4 kB / 1.221 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.7823, allocations: 11.92 kB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.7825, allocations: 31.84 kB / 1.221 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7825, allocations: 0 / 1.221 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7825, allocations: 4 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.7825, allocations: 0 / 1.221 GB, free: 1.316 MB / 0.9356 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.0004218/0.7829, allocations: 352.8 kB / 1.221 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.783, allocations: 8.031 kB / 1.221 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.783, allocations: 38.75 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.783, allocations: 0.9375 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.7832, allocations: 164.3 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.7832, allocations: 384 / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.7832, allocations: 4.375 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.7833, allocations: 62.23 kB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7833, allocations: 3.938 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.7834, allocations: 0 / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.7834, allocations: 4 kB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.7834, allocations: 23.98 kB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.7838, allocations: 276.7 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.7839, allocations: 18.56 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.7839, allocations: 12.92 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.7839, allocations: 0 / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.7839, allocations: 30.56 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7839, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.7841, allocations: 75.33 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.7842, allocations: 77.11 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.7843, allocations: 117.7 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7843, allocations: 25.7 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.7844, allocations: 112 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.7844, allocations: 7.891 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.7845, allocations: 21.72 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7846, allocations: 322.8 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.7846, allocations: 8 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.7847, allocations: 62.86 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.7848, allocations: 130.1 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7849, allocations: 4 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001686/0.785, allocations: 115.2 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.7851, allocations: 29.7 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7851, allocations: 4 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7851, allocations: 4.25 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.7852, allocations: 15.98 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7852, allocations: 4 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.7853, allocations: 7.953 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.7853, allocations: 11.94 kB / 1.223 GB, free: 14.88 MB / 0.9512 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.000126/0.7854, allocations: 151.4 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.7855, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.7855, allocations: 3.531 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7855, allocations: 4 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7855, allocations: 4 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7855, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.7858, allocations: 157.6 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7858, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.7858, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.7858, allocations: 4 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.7858, allocations: 0 / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7858, allocations: 4 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.7859, allocations: 0 / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.786, allocations: 181.1 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.7861, allocations: 77.11 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.7861, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.7862, allocations: 7.984 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.7862, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.7862, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.7863, allocations: 91.22 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7863, allocations: 3.938 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002709/0.7865, allocations: 19.92 kB / 1.224 GB, free: 14.07 MB / 0.9512 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.0006558/0.7872, allocations: 0.707 MB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.7874, allocations: 87.27 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7874, allocations: 0.5312 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.7874, allocations: 59.41 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.7877, allocations: 4 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.7881, allocations: 138.5 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.7886, allocations: 0.6807 MB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.92e-05/0.7887, allocations: 7.984 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.7887, allocations: 15.44 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.7887, allocations: 4.062 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.8121, allocations: 1.444 MB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.988, allocations: 28.09 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB (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 50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches