Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001414/0.001414, allocations: 80.3 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.001524/0.001524, allocations: 160.3 kB / 22.45 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.837/2.837, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.821e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00363/0.003658, allocations: 1.452 MB / 0.9829 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.004406, allocations: 235.2 kB / 0.9831 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.004435, allocations: 4 kB / 0.9831 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.004465, allocations: 0 / 0.9831 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.004506, allocations: 0 / 0.9831 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.004909, allocations: 55.77 kB / 0.9831 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.004996, allocations: 27.86 kB / 0.9832 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.005088, allocations: 7.984 kB / 0.9832 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.005141, allocations: 15.92 kB / 0.9832 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.005185, allocations: 11.98 kB / 0.9832 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.005198, allocations: 0 / 0.9832 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.005376, allocations: 55.89 kB / 0.9833 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.005396, allocations: 11.92 kB / 0.9833 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.005423, allocations: 12 kB / 0.9833 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.005614, allocations: 59.84 kB / 0.9833 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005617, allocations: 0 / 0.9833 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005618, allocations: 0 / 0.9833 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.005627, allocations: 0 / 0.9833 GB, free: 8.984 MB / 0.8887 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.000567/0.006194, allocations: 270.3 kB / 0.9836 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.006237, allocations: 8.031 kB / 0.9836 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.006268, allocations: 0.9375 kB / 0.9836 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.006411, allocations: 117.7 kB / 0.9837 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.006419, allocations: 4.375 kB / 0.9837 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.006434, allocations: 4.312 kB / 0.9837 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.006644, allocations: 50.23 kB / 0.9838 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.006656, allocations: 4.172 kB / 0.9838 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006665, allocations: 384 / 0.9838 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.006679, allocations: 8.312 kB / 0.9838 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.00691, allocations: 31.91 kB / 0.9838 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.007297, allocations: 196.6 kB / 0.984 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.00747, allocations: 42.5 kB / 0.984 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.007595, allocations: 20.91 kB / 0.9841 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/0.00824, allocations: 71.91 kB / 0.9841 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.008275, allocations: 34.56 kB / 0.9842 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.008276, allocations: 4 kB / 0.9842 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005125/0.008789, allocations: 81.58 kB / 0.9842 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.008843, allocations: 55.41 kB / 0.9843 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.008962, allocations: 101.8 kB / 0.9844 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.008987, allocations: 25.7 kB / 0.9844 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.009052, allocations: 84.12 kB / 0.9845 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.009077, allocations: 11.94 kB / 0.9845 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.009129, allocations: 17.84 kB / 0.9845 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.009312, allocations: 310.8 kB / 0.9848 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.009449, allocations: 19.98 kB / 0.9848 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.009573, allocations: 11.98 kB / 0.9848 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.00977, allocations: 40.81 kB / 0.9849 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.009772, allocations: 0 / 0.9849 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003149/0.01009, allocations: 73.67 kB / 0.985 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.0101, allocations: 4 kB / 0.985 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01011, allocations: 3.938 kB / 0.985 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01013, allocations: 7.875 kB / 0.985 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01024, allocations: 8 kB / 0.985 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01025, allocations: 0 / 0.985 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.01033, allocations: 11.98 kB / 0.985 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01033, allocations: 0 / 0.985 GB, free: 7.105 MB / 0.8887 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 0.0001072/0.01044, allocations: 109.9 kB / 0.9851 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.01048, allocations: 4 kB / 0.9851 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.01084, allocations: 76.89 kB / 0.9852 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01084, allocations: 0 / 0.9852 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.01085, allocations: 0 / 0.9852 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.01085, allocations: 4 kB / 0.9852 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.01108, allocations: 97.33 kB / 0.9853 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01108, allocations: 0 / 0.9853 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.01116, allocations: 15.95 kB / 0.9853 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01117, allocations: 0 / 0.9853 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01118, allocations: 4 kB / 0.9853 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01118, allocations: 11.88 kB / 0.9853 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01118, allocations: 0 / 0.9853 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.01157, allocations: 155.5 kB / 0.9854 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.01158, allocations: 3.953 kB / 0.9855 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.0116, allocations: 3.984 kB / 0.9855 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.01173, allocations: 15.97 kB / 0.9855 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.01178, allocations: 4 kB / 0.9855 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.01179, allocations: 3.984 kB / 0.9855 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.01185, allocations: 87.45 kB / 0.9856 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01185, allocations: 0 / 0.9856 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003776/0.01223, allocations: 15.94 kB / 0.9856 GB, free: 6.445 MB / 0.8887 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.0002963/0.01252, allocations: 119.2 kB / 0.9857 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.01283, allocations: 39.91 kB / 0.9857 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01283, allocations: 0 / 0.9857 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.01297, allocations: 23.97 kB / 0.9858 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01328, allocations: 0 / 0.9858 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.01357, allocations: 100.8 kB / 0.9858 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.01369, allocations: 59.48 kB / 0.9859 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.01372, allocations: 0 / 0.9859 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.01376, allocations: 12.5 kB / 0.9859 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of SimCode: time 3.2e-07/0.01376, allocations: 0 / 0.9859 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of Templates: time 0.004506/0.01826, allocations: 0.6937 MB / 0.9866 GB, free: 5.355 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.742119014263153]