Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.002322/0.002322, allocations: 85.48 kB / 19.44 MB, free: 344 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.002118/0.002118, allocations: 173.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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.39/3.39, allocations: 429.5 MB / 0.6729 GB, free: 3.988 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.651e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00171/0.001747, allocations: 0.597 MB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.002262, allocations: 186.5 kB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.145e-05/0.002273, allocations: 0.9375 kB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.002284, allocations: 0 / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-06/0.00229, allocations: 0 / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.002704, allocations: 58.09 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.002751, allocations: 7.984 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.002786, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.002816, allocations: 2.562 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.456e-05/0.002841, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.002851, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.003036, allocations: 65.2 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.003048, allocations: 3.938 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.003062, allocations: 0 / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.003205, allocations: 44.81 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003207, allocations: 0 / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.286e-06/0.00321, allocations: 4.484 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.003215, allocations: 0 / 0.8784 GB, free: 5.645 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.0004027/0.003618, allocations: 345.7 kB / 0.8788 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.003661, allocations: 8.031 kB / 0.8788 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.003707, allocations: 4.938 kB / 0.8788 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.003804, allocations: 105.8 kB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.003822, allocations: 8.359 kB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.003828, allocations: 384 / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.003917, allocations: 31.23 kB / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.003925, allocations: 192 / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003934, allocations: 384 / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.003941, allocations: 5.703 kB / 0.8789 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.65e-05/0.003967, allocations: 7.938 kB / 0.8789 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.00412, allocations: 108.6 kB / 0.879 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.181e-05/0.004192, allocations: 28.19 kB / 0.8791 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.004214, allocations: 7.688 kB / 0.8791 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.004816, allocations: 82.59 kB / 0.8791 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.004861, allocations: 41.33 kB / 0.8792 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.004862, allocations: 0 / 0.8792 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.005011, allocations: 33.14 kB / 0.8792 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.005059, allocations: 51.41 kB / 0.8793 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.00516, allocations: 146.2 kB / 0.8794 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.005184, allocations: 29.7 kB / 0.8794 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.005259, allocations: 126.9 kB / 0.8796 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.005296, allocations: 11.89 kB / 0.8796 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.005329, allocations: 15.38 kB / 0.8796 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002491/0.005578, allocations: 0.4922 MB / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-06/0.005587, allocations: 0.5938 kB / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.005593, allocations: 1.531 kB / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.005621, allocations: 15.62 kB / 0.8801 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005623, allocations: 0 / 0.8801 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.92e-05/0.005682, allocations: 37.88 kB / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.005699, allocations: 12.03 kB / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005703, allocations: 0 / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.005716, allocations: 0 / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.005752, allocations: 0 / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.005756, allocations: 0 / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.005768, allocations: 3.938 kB / 0.8801 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.005775, allocations: 4 kB / 0.8801 GB, free: 3.715 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.0001/0.005875, allocations: 152.6 kB / 0.8803 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-06/0.005881, allocations: 0 / 0.8803 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.519e-05/0.005966, allocations: 48.62 kB / 0.8803 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.005967, allocations: 0 / 0.8803 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.005973, allocations: 4 kB / 0.8803 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005975, allocations: 0 / 0.8803 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.00608, allocations: 108.6 kB / 0.8804 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006081, allocations: 0 / 0.8804 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.006092, allocations: 0 / 0.8804 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006094, allocations: 4 kB / 0.8804 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.006098, allocations: 0 / 0.8804 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.006104, allocations: 7.984 kB / 0.8804 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006105, allocations: 0 / 0.8804 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.006201, allocations: 76.36 kB / 0.8805 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-06/0.006205, allocations: 0 / 0.8805 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.006214, allocations: 0 / 0.8805 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-06/0.006224, allocations: 4 kB / 0.8805 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.006244, allocations: 3.984 kB / 0.8805 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.006246, allocations: 4 kB / 0.8805 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001431/0.006389, allocations: 119.2 kB / 0.8806 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006389, allocations: 0 / 0.8806 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001894/0.006579, allocations: 12 kB / 0.8807 GB, free: 3.105 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.0002376/0.006816, allocations: 127.1 kB / 0.8808 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.006892, allocations: 11.69 kB / 0.8808 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006893, allocations: 0 / 0.8808 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.006909, allocations: 11.62 kB / 0.8808 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.007045, allocations: 6.344 kB / 0.8808 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.00726, allocations: 84.03 kB / 0.8809 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/0.007316, allocations: 63.47 kB / 0.8809 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.007325, allocations: 0 / 0.8809 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.007342, allocations: 8.5 kB / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.007342, allocations: 0 / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of Templates: time 0.003054/0.0104, allocations: 443.3 kB / 0.8814 GB, free: 2.305 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.411802396993153]