Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000815/0.000815, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009119/0.0009119, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9478/0.9478, allocations: 177.1 MB / 202.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.81/1.81, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.467e-06/3.467e-06, allocations: 7.984 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.261e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001159/0.001182, allocations: 0.607 MB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.00138, allocations: 31.89 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.0014, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.001429, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.001468, allocations: 4 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.001678, allocations: 11.98 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.00175, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.001788, allocations: 3.984 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.001821, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.001863, allocations: 4 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.001877, allocations: 4 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.001947, allocations: 19.97 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.001977, allocations: 7.984 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.001997, allocations: 3.938 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.673e-05/0.002093, allocations: 23.92 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002095, allocations: 0 / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.243e-06/0.002097, allocations: 0 / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.0021, allocations: 0 / 1 GB, free: 12.7 MB / 0.9636 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.0002616/0.002362, allocations: 276 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.002404, allocations: 12.75 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.002434, allocations: 38.73 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.002464, allocations: 4.891 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.798e-05/0.002522, allocations: 113.7 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.002533, allocations: 384 / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.002541, allocations: 384 / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.002667, allocations: 83.94 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.002674, allocations: 192 / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.002682, allocations: 4.375 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.002705, allocations: 8.125 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.002752, allocations: 57.61 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.00302, allocations: 235.9 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.003067, allocations: 48.22 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.003087, allocations: 34.62 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.003093, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.003112, allocations: 30.56 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003113, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.003265, allocations: 130.7 kB / 1.001 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.0033, allocations: 77.11 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.003365, allocations: 117.8 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.003374, allocations: 25.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.003419, allocations: 107.9 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.003424, allocations: 4.125 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.003457, allocations: 25.67 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.003529, allocations: 322.8 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.003555, allocations: 33.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.003601, allocations: 88.62 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/0.003682, allocations: 134.1 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.003684, allocations: 0 / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.003794, allocations: 156.9 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.00382, allocations: 29.7 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.003827, allocations: 4 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.00384, allocations: 4.234 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.003898, allocations: 16 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.003905, allocations: 8.406 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.003965, allocations: 15.88 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.003977, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9636 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 6.34e-05/0.004041, allocations: 143.5 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.004053, allocations: 4 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.004063, allocations: 3.469 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.004066, allocations: 0 / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.00407, allocations: 7.984 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004073, allocations: 0 / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.1e-05/0.004164, allocations: 128.7 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004164, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.004165, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.004166, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.004172, allocations: 3.984 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.004173, allocations: 7.938 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004174, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.004265, allocations: 194.8 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.004273, allocations: 3.953 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.004283, allocations: 4 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.004327, allocations: 4.031 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.004338, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.004343, allocations: 4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.004376, allocations: 95.25 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004377, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001681/0.004545, allocations: 8 kB / 1.003 GB, free: 9.465 MB / 0.9636 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.000438/0.004983, allocations: 0.7351 MB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.005106, allocations: 143.1 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005107, allocations: 0 / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.005135, allocations: 85.11 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.005295, allocations: 4 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.005607, allocations: 164.3 kB / 1.004 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.708e-05/0.005654, allocations: 63.34 kB / 1.004 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.404e-05/0.005728, allocations: 7.984 kB / 1.004 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.005757, allocations: 16.69 kB / 1.004 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.005757, allocations: 0 / 1.004 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.02501, allocations: 2.082 MB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.882, allocations: 10.33 kB / 1.006 GB, free: 6.164 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.0772342113778]