Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001308/0.001308, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001311/0.001311, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 1.059 GB, free: 300 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3383, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002185/0.3405, allocations: 0.5885 MB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.3408, allocations: 39.88 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.3408, allocations: 0 / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.3409, allocations: 0 / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.3409, allocations: 4 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.3411, allocations: 19.98 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.3412, allocations: 4 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.3412, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.3413, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.3413, allocations: 11.92 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3413, allocations: 0 / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.3414, allocations: 19.98 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.3415, allocations: 0 / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.3415, allocations: 7.938 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3416, allocations: 27.84 kB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3416, allocations: 3.938 kB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3416, allocations: 4 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3416, allocations: 0 / 1.217 GB, free: 14.53 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.0004627/0.3421, allocations: 357.2 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3421, allocations: 8.031 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3421, allocations: 0.9375 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3423, allocations: 168.3 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3423, allocations: 4.375 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.3423, allocations: 384 / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3425, allocations: 54.25 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3425, allocations: 4.188 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3425, allocations: 7.922 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.3425, allocations: 4 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.3426, allocations: 27.92 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.343, allocations: 276.7 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.3431, allocations: 18.64 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.3431, allocations: 4.859 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3431, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3432, allocations: 30.56 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.3432, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002321/0.3434, allocations: 75.33 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3435, allocations: 77.11 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3436, allocations: 113.8 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3436, allocations: 25.7 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.3437, allocations: 112 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.3437, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.3438, allocations: 29.66 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3439, allocations: 322.8 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-05/0.344, allocations: 4 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.943e-05/0.3441, allocations: 71.09 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3442, allocations: 130.2 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3443, allocations: 3.938 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002278/0.3445, allocations: 115.2 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.3445, allocations: 39.72 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3445, allocations: 0 / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3446, allocations: 4 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.3446, allocations: 8.25 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.3447, allocations: 11.94 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.3447, allocations: 11.95 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3448, allocations: 4 kB / 1.219 GB, free: 12.13 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.0001371/0.3449, allocations: 151.4 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.3449, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.345, allocations: 7.531 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.345, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.345, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.345, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3452, allocations: 153.6 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3452, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.3452, allocations: 3.938 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3452, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3452, allocations: 7.984 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.3452, allocations: 4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3452, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3454, allocations: 173.1 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.3455, allocations: 85.09 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3455, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.3456, allocations: 4 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.3456, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.3456, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.3457, allocations: 87.27 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3457, allocations: 0 / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004459/0.3461, allocations: 19.94 kB / 1.22 GB, free: 11.33 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.0002092/0.3463, allocations: 107.3 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3465, allocations: 87.27 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3465, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.3466, allocations: 59.39 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3469, allocations: 4.016 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.3473, allocations: 121.4 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3477, allocations: 0.6807 MB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.3478, allocations: 11.98 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.3478, allocations: 7.438 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.3478, allocations: 0 / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.003931/0.3518, allocations: 0.5391 MB / 1.221 GB, free: 9.641 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.131714756600559]