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.004717/0.004717, allocations: 96.19 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.001091/0.001091, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.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.443/2.443, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 64.09 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2735, allocations: 140.4 MB / 1.088 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001801/0.2754, allocations: 0.5766 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.2757, allocations: 43.8 kB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.2757, allocations: 4 kB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.2758, allocations: 0 / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.2758, allocations: 0 / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.276, allocations: 8 kB / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.2761, allocations: 15.91 kB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.2762, allocations: 3.938 kB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.2762, allocations: 4 kB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.2762, allocations: 0 / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2763, allocations: 0 / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.2764, allocations: 19.98 kB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.2764, allocations: 8 kB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2764, allocations: 3.938 kB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2766, allocations: 32.17 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2766, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2766, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2766, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 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.0003553/0.2769, allocations: 353.2 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.277, allocations: 8.031 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.277, allocations: 34.75 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.2771, allocations: 0.9375 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.2772, allocations: 164.4 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2772, allocations: 4.375 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2772, allocations: 384 / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2773, allocations: 62.17 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2774, allocations: 3.938 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2774, allocations: 0 / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.2774, allocations: 11.94 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.2775, allocations: 23.98 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.2778, allocations: 276.7 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.2779, allocations: 22.52 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.2779, allocations: 4.859 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-06/0.2779, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2779, allocations: 34.56 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2779, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000189/0.2781, allocations: 71.41 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.2782, allocations: 81.23 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.2783, allocations: 113.8 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2783, allocations: 33.64 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.2784, allocations: 99.92 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.2784, allocations: 7.953 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.2784, allocations: 18.06 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2786, allocations: 326.8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.2786, allocations: 8 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.2787, allocations: 58.86 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.2788, allocations: 138.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2788, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001582/0.279, allocations: 123.3 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.279, allocations: 37.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.279, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.279, allocations: 11.94 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.2791, allocations: 11.98 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2791, allocations: 4 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.2792, allocations: 4 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2792, allocations: 7.938 kB / 1.09 GB, free: 14.88 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 9.86e-05/0.2793, allocations: 155.4 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2794, allocations: 8.016 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.2794, allocations: 7.531 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2794, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2794, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2794, allocations: 3.984 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.2796, allocations: 157.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2796, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.2796, allocations: 3.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2796, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2796, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2796, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2796, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.2797, allocations: 165.2 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.2798, allocations: 77.11 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2798, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.2799, allocations: 7.984 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.2799, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2799, allocations: 7.938 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.28, allocations: 95.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.28, allocations: 4 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002499/0.2802, allocations: 8 kB / 1.091 GB, free: 14.07 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.0004477/0.2807, allocations: 0.6985 MB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.2808, allocations: 87.36 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2808, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.2809, allocations: 63.34 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.2811, allocations: 5.891 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.2815, allocations: 146.6 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2818, allocations: 0.6768 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.2819, allocations: 20.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.2819, allocations: 7.438 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2819, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.2998, allocations: 1.433 MB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/7.752, allocations: 16.72 kB / 1.094 GB, free: 10.93 MB / 0.8575 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