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.002533/0.002533, allocations: 81.5 kB / 19.44 MB, free: 348 kB / 13.93 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.003221/0.003221, allocations: 177.2 kB / 22.76 MB, free: 1.664 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 1.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.424/3.424, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.283e-06/1.283e-06, allocations: 0 / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.682e-05, allocations: 3.406 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001662/0.001689, allocations: 0.6018 MB / 0.8781 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000221/0.00191, allocations: 35.83 kB / 0.8781 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.001928, allocations: 0.5469 kB / 0.8781 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.001986, allocations: 7.922 kB / 0.8781 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.002018, allocations: 4 kB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.002207, allocations: 17.56 kB / 0.8781 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.438e-05/0.002271, allocations: 5.203 kB / 0.8782 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.836e-05/0.0023, allocations: 1.125 kB / 0.8782 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.002334, allocations: 0 / 0.8782 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.002373, allocations: 4 kB / 0.8782 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.002387, allocations: 1.594 kB / 0.8782 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.002466, allocations: 23.97 kB / 0.8782 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.002493, allocations: 5.422 kB / 0.8782 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.002513, allocations: 0.6562 kB / 0.8782 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.002619, allocations: 31.64 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002622, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.82e-07/0.002622, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.002626, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 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.0004129/0.003039, allocations: 379.2 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.003072, allocations: 8.031 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.003112, allocations: 12.83 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.003205, allocations: 106.8 kB / 0.8787 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.003219, allocations: 4.375 kB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.003227, allocations: 384 / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.00335, allocations: 71.95 kB / 0.8788 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.003357, allocations: 192 / 0.8788 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.003364, allocations: 384 / 0.8788 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.00339, allocations: 5.094 kB / 0.8788 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.003449, allocations: 46.88 kB / 0.8788 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.0039, allocations: 269.4 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.003982, allocations: 56.75 kB / 0.8791 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.004016, allocations: 37.39 kB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.004023, allocations: 0 / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.004059, allocations: 42.64 kB / 0.8792 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.004059, allocations: 0 / 0.8792 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002174/0.004277, allocations: 122.9 kB / 0.8793 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.004336, allocations: 81.11 kB / 0.8794 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.004479, allocations: 181.8 kB / 0.8796 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.004498, allocations: 25.7 kB / 0.8796 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.004596, allocations: 150.7 kB / 0.8797 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.004608, allocations: 8.156 kB / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.004659, allocations: 27.38 kB / 0.8798 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.004915, allocations: 0.4883 MB / 0.8803 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.00496, allocations: 37.69 kB / 0.8803 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.005059, allocations: 99.2 kB / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.005221, allocations: 152.8 kB / 0.8805 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.005223, allocations: 0 / 0.8805 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001908/0.005414, allocations: 149 kB / 0.8807 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.005451, allocations: 33.7 kB / 0.8807 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005455, allocations: 0 / 0.8807 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.005471, allocations: 4 kB / 0.8807 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.005538, allocations: 11.94 kB / 0.8807 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.005546, allocations: 4 kB / 0.8807 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.005604, allocations: 7.953 kB / 0.8807 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.005623, allocations: 11.98 kB / 0.8807 GB, free: 2.969 MB / 0.8386 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.0001406/0.005763, allocations: 186.2 kB / 0.8809 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.005797, allocations: 11.94 kB / 0.8809 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-06/0.005805, allocations: 7.562 kB / 0.8809 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005807, allocations: 0 / 0.8809 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.00581, allocations: 4 kB / 0.8809 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.005814, allocations: 3.984 kB / 0.8809 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.00596, allocations: 116.6 kB / 0.8811 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005961, allocations: 0 / 0.8811 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-06/0.005965, allocations: 3.938 kB / 0.8811 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005967, allocations: 0 / 0.8811 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.005975, allocations: 4 kB / 0.8811 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.005978, allocations: 3.938 kB / 0.8811 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005979, allocations: 0 / 0.8811 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.00618, allocations: 248 kB / 0.8813 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.006192, allocations: 7.938 kB / 0.8813 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.006204, allocations: 0 / 0.8813 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.006254, allocations: 0 / 0.8813 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.006273, allocations: 7.984 kB / 0.8813 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.006277, allocations: 0 / 0.8813 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.957e-05/0.006357, allocations: 131.2 kB / 0.8814 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006357, allocations: 0 / 0.8814 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002353/0.006592, allocations: 8 kB / 0.8815 GB, free: 2.16 MB / 0.8386 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.0001869/0.006779, allocations: 115.3 kB / 0.8816 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.006981, allocations: 150.4 kB / 0.8817 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006983, allocations: 0 / 0.8817 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.007055, allocations: 88.8 kB / 0.8818 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.007256, allocations: 6.5 kB / 0.8818 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.007534, allocations: 140 kB / 0.8819 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.51e-05/0.007619, allocations: 63.91 kB / 0.882 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.413e-05/0.007673, allocations: 15.97 kB / 0.882 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.007694, allocations: 12.5 kB / 0.882 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.007694, allocations: 0 / 0.882 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of Templates: time 0.003373/0.01107, allocations: 0.5722 MB / 0.8826 GB, free: 0.9062 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] 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: 8.39647344709374]