Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 207 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 0.49 GB / 0.7951 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 65.34 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3373, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001949/0.3393, allocations: 0.5895 MB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.3395, allocations: 35.88 kB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.3395, allocations: 4 kB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.3396, allocations: 3.938 kB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.3396, allocations: 0 / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.3398, allocations: 11.98 kB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.3399, allocations: 15.91 kB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.3399, allocations: 0 / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.877e-05/0.3399, allocations: 4 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.34, allocations: 0 / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.34, allocations: 4 kB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.3401, allocations: 19.98 kB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.3401, allocations: 7.938 kB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.3401, allocations: 3.938 kB / 1.327 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.643e-05/0.3402, allocations: 28.17 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3402, allocations: 4 kB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3402, allocations: 0 / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3402, allocations: 0 / 1.327 GB, free: 1.223 MB / 1.014 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.0003591/0.3406, allocations: 276.5 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3406, allocations: 8.031 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.3406, allocations: 38.75 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.3407, allocations: 8.891 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.3408, allocations: 110.4 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3408, allocations: 4.375 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3408, allocations: 384 / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3409, allocations: 62.23 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3409, allocations: 3.938 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3409, allocations: 0 / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.341, allocations: 8 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.341, allocations: 27.92 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.3414, allocations: 239.9 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.234e-05/0.3414, allocations: 26.56 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3414, allocations: 4.859 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.3414, allocations: 0 / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3415, allocations: 34.62 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3415, allocations: 4 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.3417, allocations: 71.31 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3417, allocations: 81.11 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3419, allocations: 113.8 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3419, allocations: 29.7 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.3419, allocations: 103.9 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.3419, allocations: 7.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.342, allocations: 25.67 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3421, allocations: 318.9 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.3422, allocations: 15.98 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.3422, allocations: 58.8 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3424, allocations: 130.2 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3424, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001548/0.3425, allocations: 119.2 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.3425, allocations: 35.11 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3426, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3426, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.3426, allocations: 15.98 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3427, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.3427, allocations: 7.953 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3427, allocations: 12.19 kB / 1.329 GB, free: 14.96 MB / 1.029 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.0001111/0.3429, allocations: 148 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3429, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.3429, allocations: 15.39 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3429, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3429, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3429, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.3431, allocations: 128.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3431, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.3431, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3431, allocations: 8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3431, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3431, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3431, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.3432, allocations: 173.1 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.3432, allocations: 11.95 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3433, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3433, allocations: 32 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.3433, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3433, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.3434, allocations: 95.2 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002434/0.3436, allocations: 8 kB / 1.329 GB, free: 14.29 MB / 1.029 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.0005028/0.3441, allocations: 0.7063 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.3443, allocations: 83.33 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3443, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.3443, allocations: 55.41 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3445, allocations: 5.203 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3449, allocations: 147 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3452, allocations: 0.6807 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.3453, allocations: 11.98 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.3454, allocations: 15.38 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3454, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.3734, allocations: 1.573 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.34, allocations: 16.88 kB / 1.332 GB, free: 11.02 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.24036540099769]