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.001702/0.001702, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002588/0.002588, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.789 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.265/3.265, allocations: 0.4892 GB / 0.7944 GB, free: 35.63 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.002086/0.002086, allocations: 67.17 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001886/0.3383, allocations: 0.5942 MB / 1.326 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000261/0.3385, allocations: 39.88 kB / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.3386, allocations: 0 / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.3386, allocations: 0 / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.3386, allocations: 4 kB / 1.326 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3388, allocations: 15.92 kB / 1.326 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.3389, allocations: 4 kB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.339, allocations: 3.938 kB / 1.326 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.339, allocations: 4 kB / 1.326 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.339, allocations: 3.938 kB / 1.326 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.339, allocations: 0 / 1.326 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3391, allocations: 23.97 kB / 1.326 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.3392, allocations: 7.984 kB / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.3392, allocations: 3.938 kB / 1.326 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3393, allocations: 28.2 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3393, allocations: 0 / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3393, allocations: 0 / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3393, allocations: 0 / 1.326 GB, free: 1.629 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.0003752/0.3397, allocations: 270.8 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3397, allocations: 12.03 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.3398, allocations: 38.73 kB / 1.326 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.3398, allocations: 8.828 kB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.3399, allocations: 114.4 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3399, allocations: 384 / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.3399, allocations: 384 / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3401, allocations: 91.94 kB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3401, allocations: 3.938 kB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.3401, allocations: 0 / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.3401, allocations: 7.984 kB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.3402, allocations: 57.69 kB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.3406, allocations: 239.8 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/0.3406, allocations: 48.27 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.3407, allocations: 34.56 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.3407, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3407, allocations: 34.62 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3407, allocations: 4 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002101/0.3409, allocations: 118.7 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.341, allocations: 81.11 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3411, allocations: 121.8 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3411, allocations: 25.7 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.3412, allocations: 103.9 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.3412, allocations: 0 / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.3412, allocations: 29.66 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3414, allocations: 318.8 kB / 1.327 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.3414, allocations: 37.69 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.3415, allocations: 92.75 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3416, allocations: 130.1 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3417, allocations: 4 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001707/0.3418, allocations: 148.8 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.3419, allocations: 29.7 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3419, allocations: 4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3419, allocations: 4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.342, allocations: 8 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.342, allocations: 7.984 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.342, allocations: 15.89 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3421, allocations: 12.12 kB / 1.328 GB, free: 15.08 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.0001129/0.3422, allocations: 144.1 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.3422, allocations: 3.938 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.3422, allocations: 15.45 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.3422, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3422, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3422, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.3424, allocations: 120.7 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3424, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-06/0.3424, allocations: 3.984 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.3424, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3424, allocations: 8 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3424, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3424, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3426, allocations: 198.8 kB / 1.328 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.3426, allocations: 8 kB / 1.328 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3426, allocations: 4 kB / 1.328 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.3426, allocations: 0 / 1.328 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.3427, allocations: 4 kB / 1.328 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.3427, allocations: 4 kB / 1.328 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.3427, allocations: 91.2 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3427, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000244/0.343, allocations: 16.03 kB / 1.329 GB, free: 14.37 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.0005394/0.3435, allocations: 0.7198 MB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3437, allocations: 142.7 kB / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3437, allocations: 0 / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.3438, allocations: 85.11 kB / 1.329 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.344, allocations: 4.594 kB / 1.329 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.3444, allocations: 180.1 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.62e-05/0.3445, allocations: 63.34 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.758e-05/0.3446, allocations: 7.984 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.3446, allocations: 11.44 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3446, allocations: 3.938 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.3733, allocations: 1.944 MB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 11.88 kB / 1.332 GB, free: 11.21 MB / 1.029 GB " [Timeout remaining time 288] (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.964775022119284]