Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 71.88 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7902, allocations: 168.7 MB / 1.271 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001384/0.7916, allocations: 0.6034 MB / 1.272 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002022/0.7918, allocations: 41.02 kB / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.7918, allocations: 0.75 kB / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.7918, allocations: 0 / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.809e-05/0.7918, allocations: 4.812 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.792, allocations: 16.28 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.7921, allocations: 3.984 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.7921, allocations: 2.141 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.7921, allocations: 7.375 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.7922, allocations: 1.844 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.7922, allocations: 4.5 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.7922, allocations: 16.22 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.7923, allocations: 9.172 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.7923, allocations: 5.594 kB / 1.272 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.514e-05/0.7924, allocations: 28.48 kB / 1.272 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.7924, allocations: 0 / 1.272 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7924, allocations: 0 / 1.272 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.7924, allocations: 1.219 kB / 1.272 GB, free: 6.98 MB / 0.9981 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.0002156/0.7926, allocations: 351.8 kB / 1.272 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.7926, allocations: 14 kB / 1.272 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.108e-05/0.7926, allocations: 37.77 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.7927, allocations: 2 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.86e-05/0.7927, allocations: 161.6 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.7927, allocations: 1.75 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.7927, allocations: 2.031 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.7928, allocations: 57.72 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7928, allocations: 3.938 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.7928, allocations: 0.7812 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.7929, allocations: 7.453 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.7929, allocations: 30.5 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.7931, allocations: 275.2 kB / 1.273 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/0.7932, allocations: 19.11 kB / 1.273 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.7932, allocations: 6.203 kB / 1.273 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.7932, allocations: 0.8125 kB / 1.273 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.159e-05/0.7932, allocations: 32.11 kB / 1.273 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7932, allocations: 4 kB / 1.273 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.7933, allocations: 79.89 kB / 1.273 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.7934, allocations: 77.95 kB / 1.273 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.7934, allocations: 117.8 kB / 1.273 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.7934, allocations: 25.7 kB / 1.273 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.7934, allocations: 100.1 kB / 1.273 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.7935, allocations: 6.047 kB / 1.273 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.7935, allocations: 22.53 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.319e-05/0.7935, allocations: 324 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.7935, allocations: 8.938 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.7936, allocations: 60.42 kB / 1.274 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.663e-05/0.7937, allocations: 135.1 kB / 1.274 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7937, allocations: 0.75 kB / 1.274 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.7938, allocations: 119.5 kB / 1.274 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7938, allocations: 36.73 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7938, allocations: 1.656 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7938, allocations: 3.281 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.7939, allocations: 11.84 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7939, allocations: 7.234 kB / 1.274 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.794, allocations: 12.77 kB / 1.274 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.794, allocations: 13.72 kB / 1.274 GB, free: 4.887 MB / 0.9981 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.045e-05/0.794, allocations: 142.8 kB / 1.274 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.7941, allocations: 2.422 kB / 1.274 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.7941, allocations: 5.625 kB / 1.274 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7941, allocations: 0.75 kB / 1.274 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7941, allocations: 0 / 1.274 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7941, allocations: 1.328 kB / 1.274 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.7942, allocations: 156.8 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7942, allocations: 1.203 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.7942, allocations: 4 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.7942, allocations: 1.453 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7942, allocations: 4.859 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7942, allocations: 0.875 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7942, allocations: 0.6562 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.803e-05/0.7943, allocations: 171.7 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.7943, allocations: 78.86 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.7943, allocations: 2.406 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.7944, allocations: 12.59 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.7944, allocations: 2.469 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.7944, allocations: 5.531 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.7944, allocations: 92.84 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7944, allocations: 0 / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002351/0.7947, allocations: 14.27 kB / 1.275 GB, free: 4.172 MB / 0.9981 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.0002448/0.7949, allocations: 0.7075 MB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.795, allocations: 81.09 kB / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.795, allocations: 0.8438 kB / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.795, allocations: 56.33 kB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.7952, allocations: 9.156 kB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.7956, allocations: 151.1 kB / 1.276 GB, free: 19.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.7958, allocations: 0.678 MB / 1.277 GB, free: 18.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.7959, allocations: 12.19 kB / 1.277 GB, free: 18.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.7959, allocations: 9.812 kB / 1.277 GB, free: 18.5 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7959, allocations: 0 / 1.277 GB, free: 18.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.8174, allocations: 1.429 MB / 1.278 GB, free: 18.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.685, allocations: 4.422 kB / 1.278 GB, free: 18.12 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.961745667000287]