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.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.001722/0.001722, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002017/0.002017, allocations: 169.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.665/2.665, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.353e-06/1.353e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.253e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00156/0.001582, allocations: 0.5917 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.001824, allocations: 35.88 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.001846, allocations: 4 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.00189, allocations: 3.938 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.001925, allocations: 4 kB / 0.9516 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.002131, allocations: 15.97 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.002202, allocations: 4 kB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.002238, allocations: 0 / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.002284, allocations: 8 kB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.00233, allocations: 3.984 kB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.002348, allocations: 0 / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.228e-05/0.00243, allocations: 23.86 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.002462, allocations: 4 kB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.002482, allocations: 0 / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.002597, allocations: 31.95 kB / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002599, allocations: 0 / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.51e-07/0.0026, allocations: 0 / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.002604, allocations: 0 / 0.9517 GB, free: 10.76 MB / 0.8575 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.0003747/0.002978, allocations: 280 kB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.003016, allocations: 15.97 kB / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.003052, allocations: 8.812 kB / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.003139, allocations: 101.8 kB / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.003153, allocations: 4.375 kB / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.003162, allocations: 384 / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.003314, allocations: 83.95 kB / 0.9522 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.003323, allocations: 4.188 kB / 0.9522 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.003331, allocations: 384 / 0.9522 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.003364, allocations: 12.36 kB / 0.9522 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.56e-05/0.00343, allocations: 53.62 kB / 0.9523 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.003745, allocations: 212.5 kB / 0.9525 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.003811, allocations: 48.22 kB / 0.9525 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.003846, allocations: 38.62 kB / 0.9526 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.003854, allocations: 0 / 0.9526 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.00389, allocations: 30.56 kB / 0.9526 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.003891, allocations: 0 / 0.9526 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002629/0.004154, allocations: 126.7 kB / 0.9527 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.004216, allocations: 81.11 kB / 0.9528 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.004329, allocations: 121.7 kB / 0.9529 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.004348, allocations: 29.7 kB / 0.9529 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.004413, allocations: 96 kB / 0.953 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.004425, allocations: 11.89 kB / 0.953 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.004469, allocations: 25.7 kB / 0.9531 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.004602, allocations: 310.8 kB / 0.9534 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.004645, allocations: 37.7 kB / 0.9534 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.004725, allocations: 84.56 kB / 0.9535 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.004853, allocations: 134.3 kB / 0.9536 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004855, allocations: 0 / 0.9536 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001776/0.005033, allocations: 152.9 kB / 0.9537 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.005068, allocations: 33.7 kB / 0.9538 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005073, allocations: 0 / 0.9538 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.005092, allocations: 4 kB / 0.9538 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.005172, allocations: 12 kB / 0.9538 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.005178, allocations: 0 / 0.9538 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.005251, allocations: 19.88 kB / 0.9538 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.005267, allocations: 8 kB / 0.9538 GB, free: 8.305 MB / 0.8575 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.0001068/0.005374, allocations: 135.5 kB / 0.9539 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.005402, allocations: 16.06 kB / 0.954 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.005416, allocations: 7.469 kB / 0.954 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.005422, allocations: 7.969 kB / 0.954 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.005428, allocations: 4 kB / 0.954 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005431, allocations: 0 / 0.954 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.005556, allocations: 105.3 kB / 0.9541 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005557, allocations: 0 / 0.9541 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.00556, allocations: 3.938 kB / 0.9541 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.005561, allocations: 0 / 0.9541 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.005569, allocations: 0 / 0.9541 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.005572, allocations: 3.984 kB / 0.9541 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005573, allocations: 4 kB / 0.9541 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.005727, allocations: 194.9 kB / 0.9543 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.005737, allocations: 7.922 kB / 0.9543 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.005749, allocations: 0 / 0.9543 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.005809, allocations: 4 kB / 0.9543 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.005823, allocations: 0 / 0.9543 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.00583, allocations: 4 kB / 0.9543 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.005886, allocations: 91.73 kB / 0.9544 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.005886, allocations: 0 / 0.9544 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002493/0.006136, allocations: 11.94 kB / 0.9544 GB, free: 7.641 MB / 0.8575 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.0001469/0.006282, allocations: 103.3 kB / 0.9545 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.00646, allocations: 142.7 kB / 0.9546 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006461, allocations: 0 / 0.9546 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.00652, allocations: 85.05 kB / 0.9547 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.006726, allocations: 4 kB / 0.9547 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.00702, allocations: 146.5 kB / 0.9549 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.007086, allocations: 63.91 kB / 0.9549 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.589e-05/0.007152, allocations: 11.98 kB / 0.9549 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.007171, allocations: 12.5 kB / 0.9549 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.007171, allocations: 0 / 0.9549 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.003086/0.01026, allocations: 0.5531 MB / 0.9555 GB, free: 6.441 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.6582918874919415]