Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001762/0.001762, allocations: 84.73 kB / 19.44 MB, free: 352 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.002202/0.002202, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.539/1.539, allocations: 177.1 MB / 203.1 MB, free: 5.301 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.215/3.215, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.07e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001827/0.001858, allocations: 0.5934 MB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005441/0.002402, allocations: 175.1 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.134e-05/0.002413, allocations: 0 / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.002426, allocations: 1.25 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.002431, allocations: 0.5469 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.00284, allocations: 56.42 kB / 0.8784 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.007e-05/0.00288, allocations: 2.609 kB / 0.8784 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.002914, allocations: 0 / 0.8784 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.002943, allocations: 3.984 kB / 0.8784 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.002967, allocations: 4 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.002977, allocations: 0 / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.003155, allocations: 56.62 kB / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.003167, allocations: 0 / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.003185, allocations: 0 / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.003339, allocations: 49.17 kB / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003341, allocations: 0 / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003342, allocations: 0 / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003346, allocations: 0 / 0.8786 GB, free: 5.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000333/0.003679, allocations: 246.4 kB / 0.8788 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.003719, allocations: 8.75 kB / 0.8788 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.003759, allocations: 0.9375 kB / 0.8788 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.004079, allocations: 111.4 kB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.004092, allocations: 4.375 kB / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.004099, allocations: 384 / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.004206, allocations: 26.27 kB / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004214, allocations: 0.9062 kB / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.004222, allocations: 1.719 kB / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.004227, allocations: 8.312 kB / 0.8789 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.004251, allocations: 3.938 kB / 0.8789 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.004396, allocations: 97.27 kB / 0.879 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.004456, allocations: 24.2 kB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.004475, allocations: 4.859 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.005087, allocations: 83.97 kB / 0.8791 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.00514, allocations: 30.56 kB / 0.8792 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.005141, allocations: 0 / 0.8792 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.005295, allocations: 33.64 kB / 0.8792 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.005346, allocations: 55.41 kB / 0.8793 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.75e-05/0.005403, allocations: 89.86 kB / 0.8793 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.005424, allocations: 25.7 kB / 0.8794 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.00547, allocations: 84.27 kB / 0.8795 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.005499, allocations: 7.938 kB / 0.8795 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.005532, allocations: 13.72 kB / 0.8795 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.005712, allocations: 318.8 kB / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.005723, allocations: 0 / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.005728, allocations: 0 / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.005762, allocations: 8.859 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005764, allocations: 0 / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.462e-05/0.005828, allocations: 37.64 kB / 0.8798 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.005848, allocations: 12.08 kB / 0.8798 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005852, allocations: 4 kB / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.005868, allocations: 0 / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.005908, allocations: 4 kB / 0.8798 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.005913, allocations: 0 / 0.8798 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.24e-05/0.005925, allocations: 7.938 kB / 0.8798 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.00593, allocations: 0 / 0.8798 GB, free: 4.039 MB / 0.8386 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 (1): * Single equations (assignments): 1 * 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 0.000106/0.006036, allocations: 105.8 kB / 0.8799 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.006044, allocations: 0 / 0.8799 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.206e-05/0.006136, allocations: 36.69 kB / 0.88 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006138, allocations: 8.031 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.006142, allocations: 3.938 kB / 0.88 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.006144, allocations: 0 / 0.88 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.006244, allocations: 101.3 kB / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006245, allocations: 0 / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.006261, allocations: 7.938 kB / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006263, allocations: 0 / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.006268, allocations: 0 / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006269, allocations: 0 / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00627, allocations: 0 / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.575e-05/0.006366, allocations: 65.06 kB / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.006371, allocations: 4.031 kB / 0.8802 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.00638, allocations: 0 / 0.8802 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-06/0.006387, allocations: 0 / 0.8802 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.006399, allocations: 4 kB / 0.8802 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.006401, allocations: 0 / 0.8802 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.006449, allocations: 83.27 kB / 0.8802 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006449, allocations: 0 / 0.8802 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002161/0.006665, allocations: 19.88 kB / 0.8803 GB, free: 3.543 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): 1 * 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.0002225/0.006887, allocations: 119.2 kB / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.355e-05/0.006971, allocations: 7.984 kB / 0.8804 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.006973, allocations: 0 / 0.8804 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.006979, allocations: 0 / 0.8804 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.007119, allocations: 11.88 kB / 0.8804 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.007347, allocations: 79.05 kB / 0.8805 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.007409, allocations: 55.36 kB / 0.8805 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.739e-06/0.007419, allocations: 4.125 kB / 0.8805 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.007444, allocations: 8.5 kB / 0.8805 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.007445, allocations: 0 / 0.8805 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of Templates: time 0.003096/0.01054, allocations: 436.5 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.995543129974976]