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.002103/0.002103, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 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.002804/0.002804, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.532e-06, allocations: 4 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/3.035e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0017/0.00173, allocations: 0.5927 MB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000241/0.001972, allocations: 37.73 kB / 0.8783 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.00199, allocations: 0 / 0.8783 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.002032, allocations: 0 / 0.8783 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.00208, allocations: 4.719 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.002292, allocations: 19.36 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.002357, allocations: 4.656 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.002392, allocations: 4 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.218e-05/0.002424, allocations: 5.078 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.002465, allocations: 4 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.002479, allocations: 0 / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.002574, allocations: 19.92 kB / 0.8783 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.002606, allocations: 8.859 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.002634, allocations: 4.484 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002743, allocations: 24.56 kB / 0.8784 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002745, allocations: 1.094 kB / 0.8784 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002746, allocations: 0 / 0.8784 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002749, allocations: 0 / 0.8784 GB, free: 5.738 MB / 0.8386 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.0003613/0.003111, allocations: 276.6 kB / 0.8786 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.003145, allocations: 8.031 kB / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.003192, allocations: 10.42 kB / 0.8786 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.003294, allocations: 101.8 kB / 0.8787 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.003312, allocations: 8.359 kB / 0.8787 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.00332, allocations: 384 / 0.8787 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.003497, allocations: 92.91 kB / 0.8788 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003506, allocations: 192 / 0.8788 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003514, allocations: 384 / 0.8788 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.003544, allocations: 13.05 kB / 0.8788 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.003621, allocations: 53.62 kB / 0.8789 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.003964, allocations: 208.5 kB / 0.8791 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.004042, allocations: 56.16 kB / 0.8791 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.004087, allocations: 34.62 kB / 0.8792 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.004098, allocations: 3.984 kB / 0.8792 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.004132, allocations: 30.56 kB / 0.8792 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.004133, allocations: 0 / 0.8792 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002314/0.004365, allocations: 118.8 kB / 0.8793 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.004528, allocations: 81.05 kB / 0.8794 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.004649, allocations: 125.7 kB / 0.8795 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.00467, allocations: 29.83 kB / 0.8795 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.004743, allocations: 103.9 kB / 0.8796 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-06/0.004752, allocations: 3.938 kB / 0.8797 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.004803, allocations: 29.66 kB / 0.8797 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.004971, allocations: 310.8 kB / 0.88 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.005022, allocations: 41.69 kB / 0.88 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.005115, allocations: 84.56 kB / 0.8801 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.005267, allocations: 134.1 kB / 0.8802 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005268, allocations: 0 / 0.8802 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002225/0.005491, allocations: 152.8 kB / 0.8804 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.005529, allocations: 36.2 kB / 0.8804 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005534, allocations: 256 / 0.8804 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.005555, allocations: 8 kB / 0.8804 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.005631, allocations: 15.98 kB / 0.8804 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.005637, allocations: 0 / 0.8804 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.005706, allocations: 7.953 kB / 0.8804 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.005723, allocations: 8 kB / 0.8804 GB, free: 3.281 MB / 0.8386 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.000118/0.005841, allocations: 143.5 kB / 0.8806 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.005872, allocations: 7.938 kB / 0.8806 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14e-05/0.005884, allocations: 7.453 kB / 0.8806 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.005885, allocations: 0 / 0.8806 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.005891, allocations: 4 kB / 0.8806 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.005895, allocations: 8 kB / 0.8806 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.006042, allocations: 105.4 kB / 0.8807 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006043, allocations: 0 / 0.8807 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.006048, allocations: 7.922 kB / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006049, allocations: 0 / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006056, allocations: 0 / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006057, allocations: 0 / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006058, allocations: 0 / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.006256, allocations: 198.8 kB / 0.8809 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.006267, allocations: 3.938 kB / 0.8809 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006279, allocations: 8.031 kB / 0.8809 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.00634, allocations: 0 / 0.8809 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.006355, allocations: 3.938 kB / 0.8809 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.006363, allocations: 4 kB / 0.8809 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.006428, allocations: 87.73 kB / 0.881 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006428, allocations: 0 / 0.881 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002656/0.006693, allocations: 15.94 kB / 0.881 GB, free: 2.617 MB / 0.8386 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.0001714/0.006865, allocations: 99.25 kB / 0.8811 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.00706, allocations: 142.8 kB / 0.8813 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007062, allocations: 0 / 0.8813 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.00713, allocations: 81.11 kB / 0.8813 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.007357, allocations: 9.875 kB / 0.8813 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.007637, allocations: 138.3 kB / 0.8815 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.228e-05/0.00771, allocations: 63.34 kB / 0.8815 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.007782, allocations: 16.47 kB / 0.8815 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.007798, allocations: 12.5 kB / 0.8816 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/0.007798, allocations: 0 / 0.8816 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of Templates: time 0.003179/0.01098, allocations: 0.5752 MB / 0.8821 GB, free: 1.398 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 800] 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: 8.076640803948976]