Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.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.001393/0.001393, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.00161/0.00161, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.705/2.705, allocations: 359 MB / 0.6037 GB, free: 14.98 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.672e-05, allocations: 2.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002662/0.002689, allocations: 1.456 MB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005628/0.003252, allocations: 227.3 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.003276, allocations: 0 / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.003307, allocations: 7.922 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.003352, allocations: 7.938 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.003696, allocations: 59.77 kB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.003756, allocations: 15.94 kB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003858, allocations: 15.97 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.003924, allocations: 8 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.003961, allocations: 11.92 kB / 0.9527 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.003972, allocations: 0 / 0.9527 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.004119, allocations: 55.94 kB / 0.9528 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.004135, allocations: 4 kB / 0.9528 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.004155, allocations: 4 kB / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004311, allocations: 67.72 kB / 0.9529 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004313, allocations: 4 kB / 0.9529 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004313, allocations: 3.938 kB / 0.9529 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.004317, allocations: 0 / 0.9529 GB, free: 9.637 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004534/0.004771, allocations: 270.3 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004804, allocations: 8.031 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.004836, allocations: 0.9375 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.004955, allocations: 117.7 kB / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004966, allocations: 384 / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.004975, allocations: 384 / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.005151, allocations: 54.23 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005159, allocations: 192 / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.005167, allocations: 384 / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.00517, allocations: 4.375 kB / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.005344, allocations: 31.91 kB / 0.9533 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.005661, allocations: 196.6 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.005806, allocations: 38.55 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.0059, allocations: 28.91 kB / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.006395, allocations: 75.91 kB / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.006424, allocations: 34.56 kB / 0.9537 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006425, allocations: 0 / 0.9537 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003811/0.006807, allocations: 85.52 kB / 0.9538 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.006854, allocations: 55.41 kB / 0.9538 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.006933, allocations: 97.86 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.00695, allocations: 25.7 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.00701, allocations: 96.05 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.007028, allocations: 7.953 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.007061, allocations: 9.719 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.007208, allocations: 314.8 kB / 0.9543 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.007293, allocations: 16.11 kB / 0.9544 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.007367, allocations: 19.97 kB / 0.9544 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.007534, allocations: 40.83 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007535, allocations: 3.938 kB / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.007737, allocations: 65.66 kB / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007751, allocations: 8.094 kB / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.007757, allocations: 3.938 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.00777, allocations: 0 / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.007851, allocations: 11.98 kB / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.007855, allocations: 0 / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.007908, allocations: 11.95 kB / 0.9545 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.007912, allocations: 0 / 0.9545 GB, free: 7.762 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.049e-05/0.007993, allocations: 105.8 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.008018, allocations: 7.984 kB / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.008255, allocations: 80.84 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008257, allocations: 3.938 kB / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.00826, allocations: 0 / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.008263, allocations: 4 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.008406, allocations: 105.3 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008407, allocations: 0 / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.008464, allocations: 4 kB / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008465, allocations: 0 / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008474, allocations: 4 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.008478, allocations: 7.969 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.008481, allocations: 3.984 kB / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.008731, allocations: 151.5 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.00874, allocations: 3.984 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.008753, allocations: 4 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.00883, allocations: 11.88 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.00887, allocations: 7.984 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.008874, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.008925, allocations: 83.31 kB / 0.9551 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.008925, allocations: 3.938 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002659/0.009191, allocations: 19.89 kB / 0.9551 GB, free: 7.098 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001959/0.009386, allocations: 119.2 kB / 0.9552 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.009612, allocations: 39.97 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009613, allocations: 0 / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.009706, allocations: 19.97 kB / 0.9553 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.00993, allocations: 4 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.0102, allocations: 109.4 kB / 0.9554 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.276e-05/0.01027, allocations: 59.34 kB / 0.9554 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.01029, allocations: 0 / 0.9554 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.01031, allocations: 16.62 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01031, allocations: 0 / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.003261/0.01357, allocations: 0.6903 MB / 0.9561 GB, free: 6 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.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.569869115948677]