Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009429/0.0009429, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008469/0.0008469, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9187/0.9187, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.767/1.767, allocations: 377.9 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.107e-06/4.107e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.943e-05/5.354e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002836/0.00289, allocations: 0.598 MB / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004412/0.003331, allocations: 35.83 kB / 0.9829 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.003367, allocations: 0 / 0.9829 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/0.003423, allocations: 0 / 0.9829 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.003501, allocations: 8 kB / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.003918, allocations: 15.97 kB / 0.9829 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004058, allocations: 7.984 kB / 0.9829 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.004136, allocations: 0 / 0.9829 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.0042, allocations: 0 / 0.9829 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.004273, allocations: 4 kB / 0.9829 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.004302, allocations: 0 / 0.9829 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.004426, allocations: 15.98 kB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.004482, allocations: 15.92 kB / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.004517, allocations: 0 / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.004695, allocations: 27.97 kB / 0.983 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.004701, allocations: 3.938 kB / 0.983 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.216e-06/0.004705, allocations: 0 / 0.983 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.004713, allocations: 0 / 0.983 GB, free: 1.316 MB / 0.9323 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.0005034/0.005216, allocations: 280 kB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.005266, allocations: 8.031 kB / 0.9832 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.005319, allocations: 4.938 kB / 0.9832 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.005403, allocations: 105.8 kB / 0.9833 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.00542, allocations: 384 / 0.9833 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.005434, allocations: 4.375 kB / 0.9833 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.005626, allocations: 83.95 kB / 0.9834 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.005636, allocations: 4.125 kB / 0.9834 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.00565, allocations: 4.312 kB / 0.9834 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.005684, allocations: 8.359 kB / 0.9834 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.543e-05/0.005749, allocations: 57.56 kB / 0.9835 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.006148, allocations: 220.5 kB / 0.9837 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.00623, allocations: 48.22 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.00626, allocations: 30.56 kB / 0.9838 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.006271, allocations: 0 / 0.9838 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.006302, allocations: 34.62 kB / 0.9838 GB, free: 304 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 2.845e-06/0.006305, allocations: 4 kB / 0.9838 GB, free: 300 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002346/0.00654, allocations: 126.7 kB / 0.9839 GB, free: 148 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.006588, allocations: 77.11 kB / 0.984 GB, free: 52 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.006703, allocations: 121.7 kB / 0.9841 GB, free: 15.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006715, allocations: 25.7 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.006773, allocations: 103.9 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.006781, allocations: 3.953 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.006827, allocations: 25.72 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.006921, allocations: 314.8 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.006966, allocations: 41.69 kB / 0.9846 GB, free: 15.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.007036, allocations: 88.62 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.007139, allocations: 130.2 kB / 0.9848 GB, free: 15.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007142, allocations: 0 / 0.9848 GB, free: 15.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001677/0.00731, allocations: 156.8 kB / 0.985 GB, free: 14.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.00735, allocations: 33.7 kB / 0.985 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.007358, allocations: 3.984 kB / 0.985 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.007378, allocations: 4 kB / 0.985 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.00746, allocations: 8 kB / 0.985 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.007472, allocations: 8.406 kB / 0.985 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.007547, allocations: 4 kB / 0.985 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.007566, allocations: 4 kB / 0.985 GB, free: 14.86 MB / 0.948 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 9.404e-05/0.00766, allocations: 155.7 kB / 0.9852 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.007685, allocations: 7.891 kB / 0.9852 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.0077, allocations: 7.469 kB / 0.9852 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007703, allocations: 0 / 0.9852 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.007708, allocations: 0 / 0.9852 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007712, allocations: 0 / 0.9852 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.007826, allocations: 109.2 kB / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007827, allocations: 0 / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.007831, allocations: 3.938 kB / 0.9853 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.007833, allocations: 4 kB / 0.9853 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007841, allocations: 0 / 0.9853 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007843, allocations: 4 kB / 0.9853 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007844, allocations: 0 / 0.9853 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.007984, allocations: 194.8 kB / 0.9855 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.007997, allocations: 7.938 kB / 0.9855 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.008012, allocations: 0 / 0.9855 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.008072, allocations: 0 / 0.9855 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.008089, allocations: 7.984 kB / 0.9855 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.008095, allocations: 0 / 0.9855 GB, free: 14.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.008137, allocations: 91.27 kB / 0.9856 GB, free: 14.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.008137, allocations: 0 / 0.9856 GB, free: 14.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002496/0.008387, allocations: 16.03 kB / 0.9856 GB, free: 14.2 MB / 0.948 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.000212/0.008599, allocations: 103.8 kB / 0.9857 GB, free: 14.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.008776, allocations: 138.7 kB / 0.9859 GB, free: 13.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.008779, allocations: 0 / 0.9859 GB, free: 13.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.008823, allocations: 89.09 kB / 0.9859 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.00906, allocations: 4 kB / 0.9859 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.009369, allocations: 160.9 kB / 0.9861 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.424e-05/0.009444, allocations: 71.2 kB / 0.9862 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.009465, allocations: 8.5 kB / 0.9862 GB, free: 13.52 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.009465, allocations: 0 / 0.9862 GB, free: 13.52 MB / 0.948 GB Notification: Performance of Templates: time 0.002491/0.01196, allocations: 0.6928 MB / 0.9868 GB, free: 12.83 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.5585309052839875]