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.001596/0.001596, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.002115/0.002115, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.797/2.797, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 176] 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.002018/0.002018, allocations: 63.91 kB / 1.104 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8801, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001745/0.8818, allocations: 0.5835 MB / 1.269 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.8821, allocations: 45.77 kB / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.8821, allocations: 0 / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.8821, allocations: 0 / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.15e-05/0.8821, allocations: 0 / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.8823, allocations: 7.984 kB / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.8824, allocations: 15.88 kB / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.8824, allocations: 0 / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.8825, allocations: 8 kB / 1.269 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.8825, allocations: 3.984 kB / 1.269 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.8825, allocations: 0 / 1.269 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.8826, allocations: 19.98 kB / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.8826, allocations: 7.984 kB / 1.269 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.8826, allocations: 3.938 kB / 1.269 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.667e-05/0.8827, allocations: 25.75 kB / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8827, allocations: 0 / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8827, allocations: 0 / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.8827, allocations: 0 / 1.269 GB, free: 4.434 MB / 0.9669 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.0003979/0.8831, allocations: 357.1 kB / 1.27 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.8832, allocations: 8.031 kB / 1.27 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.8832, allocations: 46.67 kB / 1.27 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.8832, allocations: 0.9375 kB / 1.27 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.8834, allocations: 160.4 kB / 1.27 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.8834, allocations: 8.359 kB / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.8834, allocations: 384 / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.8835, allocations: 62.17 kB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8835, allocations: 3.938 kB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.8836, allocations: 0 / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.8836, allocations: 11.98 kB / 1.27 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.8836, allocations: 23.98 kB / 1.27 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.884, allocations: 264.8 kB / 1.27 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.884, allocations: 22.5 kB / 1.27 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.884, allocations: 8.922 kB / 1.27 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-06/0.884, allocations: 0 / 1.27 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.8841, allocations: 34.56 kB / 1.27 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.8841, allocations: 0 / 1.27 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001728/0.8842, allocations: 67.41 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.8843, allocations: 85.03 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8844, allocations: 121.7 kB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.8844, allocations: 25.7 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.8845, allocations: 103.9 kB / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.8845, allocations: 3.953 kB / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.8845, allocations: 29.83 kB / 1.271 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8847, allocations: 322.8 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.8847, allocations: 7.984 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.8848, allocations: 58.86 kB / 1.271 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.8849, allocations: 134.1 kB / 1.271 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8849, allocations: 4 kB / 1.271 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001567/0.8851, allocations: 111.2 kB / 1.271 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.8851, allocations: 33.7 kB / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8851, allocations: 0 / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8851, allocations: 4 kB / 1.272 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.8852, allocations: 11.94 kB / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.8852, allocations: 7.984 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.8853, allocations: 20.14 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8853, allocations: 7.938 kB / 1.272 GB, free: 1.98 MB / 0.9669 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.0001086/0.8854, allocations: 143.5 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.8854, allocations: 4 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.8854, allocations: 11.52 kB / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.8854, allocations: 0 / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8854, allocations: 0 / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8854, allocations: 0 / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.8856, allocations: 165.6 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8856, allocations: 4 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.8856, allocations: 0 / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.8856, allocations: 0 / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.8856, allocations: 4 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.8856, allocations: 0 / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8856, allocations: 0 / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.8858, allocations: 169.1 kB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.8858, allocations: 81.11 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.8858, allocations: 4.031 kB / 1.272 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.8859, allocations: 4 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.8859, allocations: 3.938 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.8859, allocations: 0 / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.886, allocations: 95.14 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.886, allocations: 0 / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002442/0.8862, allocations: 19.94 kB / 1.272 GB, free: 1.172 MB / 0.9669 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.0005051/0.8867, allocations: 0.703 MB / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.8869, allocations: 87.31 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8869, allocations: 0 / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.8869, allocations: 59.34 kB / 1.273 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.8871, allocations: 7.219 kB / 1.273 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.8875, allocations: 154.5 kB / 1.273 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.8878, allocations: 0.6768 MB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.664e-05/0.8879, allocations: 11.98 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.8879, allocations: 11.44 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8879, allocations: 0 / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.9121, allocations: 1.449 MB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.996, allocations: 16.64 kB / 1.275 GB, free: 14.03 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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_2/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: 15.126940781250596]