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.001322/0.001322, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001543/0.001543, allocations: 191.6 kB / 22.17 MB, free: 5.656 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.52/1.52, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.894/2.894, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.88 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.864, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001721/0.8657, allocations: 0.5821 MB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000249/0.866, allocations: 43.89 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.866, allocations: 0 / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.866, allocations: 3.938 kB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.8661, allocations: 0 / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.8663, allocations: 15.91 kB / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.8663, allocations: 12 kB / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.8664, allocations: 3.984 kB / 1.275 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.8664, allocations: 4 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.8665, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.8665, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.8666, allocations: 19.98 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.8666, allocations: 4 kB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.8666, allocations: 3.938 kB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.8667, allocations: 34.56 kB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8667, allocations: 0 / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8667, allocations: 0 / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8667, allocations: 4 kB / 1.275 GB, free: 3.688 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.0003888/0.8671, allocations: 353.2 kB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8672, allocations: 8.031 kB / 1.275 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.8672, allocations: 4.938 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.8673, allocations: 168.3 kB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.8674, allocations: 384 / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.8674, allocations: 4.312 kB / 1.275 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.8675, allocations: 54.25 kB / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8675, allocations: 192 / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.8675, allocations: 11.94 kB / 1.275 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.8676, allocations: 7.984 kB / 1.275 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.8676, allocations: 23.98 kB / 1.275 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.868, allocations: 268.8 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/0.8681, allocations: 22.52 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.8681, allocations: 8.844 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.8681, allocations: 3.938 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.8681, allocations: 38.62 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8681, allocations: 0 / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.8683, allocations: 67.34 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.8684, allocations: 85.09 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.8685, allocations: 113.8 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8685, allocations: 25.7 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.8685, allocations: 103.9 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.8686, allocations: 8.078 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.8686, allocations: 25.7 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8687, allocations: 314.8 kB / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.8688, allocations: 15.98 kB / 1.276 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.8688, allocations: 58.86 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.869, allocations: 138.1 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.869, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001554/0.8691, allocations: 115.2 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.8692, allocations: 33.7 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8692, allocations: 480 / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.8692, allocations: 4 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.8693, allocations: 12 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.8693, allocations: 8.234 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.8693, allocations: 11.89 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.8693, allocations: 12 kB / 1.277 GB, free: 1.285 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.0001034/0.8695, allocations: 144.8 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.8695, allocations: 4 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.8695, allocations: 7.516 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.8695, allocations: 0 / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8695, allocations: 0 / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8695, allocations: 0 / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.8697, allocations: 161.6 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.8697, allocations: 0 / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.8697, allocations: 4 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8697, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8697, allocations: 3.938 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8697, allocations: 4 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8697, allocations: 3.984 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.8698, allocations: 177 kB / 1.277 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.8699, allocations: 81.14 kB / 1.277 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.8699, allocations: 4 kB / 1.277 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.87, allocations: 0 / 1.277 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.87, allocations: 0 / 1.277 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.87, allocations: 4 kB / 1.277 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.8701, allocations: 91.27 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8701, allocations: 0 / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000251/0.8703, allocations: 11.94 kB / 1.278 GB, free: 0.4922 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.0002035/0.8705, allocations: 111.2 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.8707, allocations: 87.33 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.8707, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.8707, allocations: 55.41 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.8709, allocations: 4 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.8712, allocations: 125.4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.8715, allocations: 0.6787 MB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.106e-05/0.8716, allocations: 15.98 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.8716, allocations: 11.44 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8716, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.002944/0.8746, allocations: 0.5435 MB / 1.279 GB, free: 14.79 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] 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: 8.841556032653898]