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.0008631/0.0008631, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008158/0.0008158, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8765/0.8765, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.757/1.757, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.913e-06/1.913e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.946e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001676/0.001706, allocations: 0.5941 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002505/0.001956, allocations: 43.81 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.001978, allocations: 0 / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.002009, allocations: 0 / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.002052, allocations: 3.938 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.002297, allocations: 11.98 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.002384, allocations: 7.938 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.002431, allocations: 7.984 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.002468, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.002518, allocations: 7.984 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002534, allocations: 0 / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.002619, allocations: 19.98 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.002652, allocations: 0 / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.00268, allocations: 8 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.002805, allocations: 23.91 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.002808, allocations: 0 / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.964e-06/0.00281, allocations: 0 / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.002814, allocations: 4 kB / 1.002 GB, free: 12.2 MB / 0.9636 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.0003183/0.003133, allocations: 280 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.003172, allocations: 8.75 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.003213, allocations: 4.938 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.003288, allocations: 109.7 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.003302, allocations: 384 / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.003311, allocations: 384 / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.003466, allocations: 87.94 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.003474, allocations: 192 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.003484, allocations: 384 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.003514, allocations: 8.359 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.003575, allocations: 57.62 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.003892, allocations: 212.5 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.003959, allocations: 52.22 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.003983, allocations: 34.56 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.003992, allocations: 3.984 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.004016, allocations: 34.56 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.004018, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001989/0.004216, allocations: 122.7 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.004261, allocations: 81.11 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.004346, allocations: 117.8 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.004365, allocations: 29.64 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.00442, allocations: 112 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.004427, allocations: 128 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.004472, allocations: 33.66 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.004568, allocations: 314.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.00467, allocations: 37.69 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.004749, allocations: 88.86 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.004832, allocations: 134.1 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.004837, allocations: 7.938 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001301/0.004967, allocations: 148.8 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.005, allocations: 29.7 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.005007, allocations: 4 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.005021, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.005089, allocations: 16.23 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.005095, allocations: 8 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.005157, allocations: 7.953 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.00517, allocations: 4 kB / 1.004 GB, free: 9.738 MB / 0.9636 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.826e-05/0.005238, allocations: 151.4 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.005251, allocations: 3.938 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.005269, allocations: 11.45 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005271, allocations: 0 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005275, allocations: 0 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005277, allocations: 0 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.296e-05/0.00536, allocations: 101.3 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.00536, allocations: 4 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-06/0.005363, allocations: 7.922 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005364, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.005371, allocations: 4 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005371, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.005372, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.005466, allocations: 190.9 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.005477, allocations: 11.89 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.005493, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.005562, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.005573, allocations: 4.031 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.005577, allocations: 8 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.00561, allocations: 91.27 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00561, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001689/0.005779, allocations: 8 kB / 1.004 GB, free: 9.074 MB / 0.9636 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.0001369/0.005916, allocations: 99.25 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.006035, allocations: 138.7 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.006037, allocations: 4.5 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.006061, allocations: 89.05 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.006209, allocations: 11.41 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002039/0.006413, allocations: 164.2 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.006465, allocations: 63.34 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.006478, allocations: 12.5 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.006478, allocations: 0 / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.001502/0.007981, allocations: 0.6937 MB / 1.006 GB, free: 7.707 MB / 0.9636 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: 6.488839270547032]