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.001727/0.001727, allocations: 114.3 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.002062/0.002062, allocations: 217 kB / 22.25 MB, free: 5.082 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 3.312/3.312, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002046/0.002046, allocations: 64.53 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3382, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00208/0.3402, allocations: 0.5914 MB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.3405, allocations: 35.88 kB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.3405, allocations: 7.938 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3406, allocations: 0 / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.3406, allocations: 3.938 kB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3408, allocations: 7.984 kB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.3409, allocations: 8 kB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.341, allocations: 0 / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.341, allocations: 4 kB / 1.354 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.3411, allocations: 7.969 kB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3411, allocations: 4 kB / 1.354 GB, free: 7.723 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.3412, allocations: 23.98 kB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.3412, allocations: 4 kB / 1.354 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.3412, allocations: 3.938 kB / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3413, allocations: 24.14 kB / 1.354 GB, free: 7.668 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3413, allocations: 4 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3413, allocations: 3.984 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3413, allocations: 0 / 1.354 GB, free: 7.66 MB / 1.045 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.0003558/0.3417, allocations: 272.5 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3417, allocations: 8.031 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3418, allocations: 42.73 kB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.3418, allocations: 0.9375 kB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.3419, allocations: 110.4 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3419, allocations: 8.359 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3419, allocations: 8.312 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.342, allocations: 54.25 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.342, allocations: 3.938 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.342, allocations: 0 / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.3421, allocations: 15.98 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.3421, allocations: 23.98 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.3425, allocations: 239.8 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.3425, allocations: 22.52 kB / 1.354 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.3425, allocations: 4.859 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3426, allocations: 0 / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3426, allocations: 42.61 kB / 1.354 GB, free: 6.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3426, allocations: 4 kB / 1.354 GB, free: 6.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001836/0.3428, allocations: 63.34 kB / 1.354 GB, free: 6.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3428, allocations: 77.11 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3429, allocations: 121.8 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.343, allocations: 29.7 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.343, allocations: 95.94 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.343, allocations: 4.078 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.3431, allocations: 37.64 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3432, allocations: 318.9 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.3432, allocations: 11.98 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.3433, allocations: 55.17 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.3434, allocations: 134.1 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3434, allocations: 0 / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001767/0.3436, allocations: 127.2 kB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.3437, allocations: 33.7 kB / 1.355 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3437, allocations: 0 / 1.355 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3437, allocations: 4 kB / 1.355 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.3438, allocations: 12 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3438, allocations: 0 / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.3438, allocations: 11.89 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3439, allocations: 16.17 kB / 1.356 GB, free: 5.402 MB / 1.045 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.0001203/0.344, allocations: 151.4 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.344, allocations: 0 / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.344, allocations: 7.469 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.344, allocations: 0 / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.344, allocations: 0 / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.344, allocations: 0 / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3442, allocations: 128.7 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3442, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.3442, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3442, allocations: 8 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3442, allocations: 7.922 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3442, allocations: 3.938 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3442, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.3444, allocations: 165.1 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3444, allocations: 15.92 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3444, allocations: 4 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.3445, allocations: 4.031 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.3445, allocations: 0 / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3445, allocations: 4 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.606e-05/0.3445, allocations: 95.2 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3445, allocations: 0 / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002561/0.3448, allocations: 8 kB / 1.356 GB, free: 4.727 MB / 1.045 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.0005579/0.3454, allocations: 0.6947 MB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3455, allocations: 87.27 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3455, allocations: 0 / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.3456, allocations: 63.39 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.3458, allocations: 6.75 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.3462, allocations: 139.1 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3465, allocations: 0.6807 MB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.38e-05/0.3466, allocations: 11.98 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3467, allocations: 11.42 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.3467, allocations: 0 / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.3804, allocations: 1.578 MB / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.6, allocations: 3.922 kB / 1.359 GB, free: 1.48 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.589210049947724]