Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.0007905/0.0007905, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008374/0.0008374, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8943/0.8943, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813/1.813, allocations: 377.9 MB / 0.6229 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.66e-05, allocations: 13.88 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003145/0.003182, allocations: 1.448 MB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005962/0.003778, allocations: 243.1 kB / 0.9839 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.003816, allocations: 3.938 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.00385, allocations: 0 / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.003896, allocations: 4 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.00437, allocations: 67.73 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.004446, allocations: 15.94 kB / 0.9839 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004551, allocations: 11.98 kB / 0.984 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.004609, allocations: 11.94 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.004649, allocations: 3.984 kB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004664, allocations: 4 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.00483, allocations: 59.88 kB / 0.984 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.00485, allocations: 7.984 kB / 0.984 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.004874, allocations: 7.938 kB / 0.984 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005055, allocations: 67.83 kB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005059, allocations: 0 / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.633e-06/0.005061, allocations: 0 / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.005066, allocations: 3.938 kB / 0.9841 GB, free: 92 kB / 0.9323 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.0004514/0.005518, allocations: 274.2 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.005561, allocations: 8.031 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.005602, allocations: 4.891 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.005707, allocations: 109.8 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.005719, allocations: 384 / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.005731, allocations: 8.312 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.0059, allocations: 50.23 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005909, allocations: 192 / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.005922, allocations: 8.375 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005928, allocations: 384 / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.00606, allocations: 35.89 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.006387, allocations: 184.6 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.006506, allocations: 42.53 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.006573, allocations: 28.91 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004938/0.007066, allocations: 75.92 kB / 0.9849 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.007095, allocations: 38.48 kB / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.007096, allocations: 0 / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0003244/0.007421, allocations: 85.59 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.007457, allocations: 55.39 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.007532, allocations: 105.8 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.007546, allocations: 25.7 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.007593, allocations: 84.14 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.007617, allocations: 3.953 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.007657, allocations: 17.7 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.007763, allocations: 315 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/0.007831, allocations: 19.98 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.007886, allocations: 15.98 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.008002, allocations: 40.81 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.008005, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.008172, allocations: 65.69 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.00819, allocations: 8 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.008201, allocations: 11.86 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.008218, allocations: 0 / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.00829, allocations: 4 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.008296, allocations: 4 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.00833, allocations: 7.984 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.008336, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 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 7.037e-05/0.008406, allocations: 109.8 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.008432, allocations: 8.031 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.008627, allocations: 68.91 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.00863, allocations: 0 / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.008636, allocations: 7.922 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008639, allocations: 0 / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.008777, allocations: 101.3 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008778, allocations: 4 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.008822, allocations: 7.984 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.008826, allocations: 4.031 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.008834, allocations: 3.938 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.008839, allocations: 7.938 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008841, allocations: 4 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.009036, allocations: 159.5 kB / 0.9862 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.009046, allocations: 11.83 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.009059, allocations: 0 / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.009128, allocations: 11.92 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.009167, allocations: 32 / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.009171, allocations: 8 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.009212, allocations: 83.27 kB / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.009212, allocations: 0 / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003038/0.009516, allocations: 16 kB / 0.9864 GB, free: 13.55 MB / 0.948 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.0002274/0.009743, allocations: 115.2 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.009918, allocations: 43.91 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.009921, allocations: 0 / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.00998, allocations: 11.98 kB / 0.9865 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.01027, allocations: 11.98 kB / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.01059, allocations: 130.6 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.01065, allocations: 55.36 kB / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.01067, allocations: 12.62 kB / 0.9867 GB, free: 13.11 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.01067, allocations: 0 / 0.9867 GB, free: 13.11 MB / 0.948 GB Notification: Performance of Templates: time 0.002343/0.01302, allocations: 0.795 MB / 0.9875 GB, free: 12.32 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 6.791442336514592]