Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.731 GB, free: 14.14 MB / 0.5763 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 1.06 GB, free: 0.582 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3132, allocations: 160.7 MB / 1.217 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002668/0.3159, allocations: 1.436 MB / 1.218 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.3164, allocations: 248.1 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.3164, allocations: 0 / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.3165, allocations: 7.938 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.3165, allocations: 0 / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3168, allocations: 55.81 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.741e-05/0.3169, allocations: 23.92 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.317, allocations: 7.984 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.317, allocations: 11.94 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.3171, allocations: 11.98 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.3171, allocations: 4 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.3172, allocations: 59.88 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3172, allocations: 7.984 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.3173, allocations: 11.94 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.3174, allocations: 55.8 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3174, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3174, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3174, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 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.0005043/0.3179, allocations: 347.3 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.318, allocations: 12.03 kB / 1.219 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.318, allocations: 4.938 kB / 1.219 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3182, allocations: 172.3 kB / 1.219 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3182, allocations: 384 / 1.219 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3182, allocations: 4.375 kB / 1.219 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3184, allocations: 46.23 kB / 1.219 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3184, allocations: 192 / 1.219 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3184, allocations: 7.938 kB / 1.219 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3184, allocations: 0 / 1.219 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3186, allocations: 31.97 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.3189, allocations: 249 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.319, allocations: 42.44 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.3191, allocations: 20.91 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007013/0.3198, allocations: 461.4 kB / 1.22 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3199, allocations: 34.56 kB / 1.22 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3199, allocations: 3.938 kB / 1.22 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003655/0.3202, allocations: 85.58 kB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.3203, allocations: 51.41 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3204, allocations: 101.8 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3204, allocations: 25.7 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.3205, allocations: 84.14 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.3205, allocations: 3.953 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3206, allocations: 13.72 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3208, allocations: 319 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.3209, allocations: 15.97 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.3209, allocations: 19.98 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3211, allocations: 32.83 kB / 1.221 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3211, allocations: 4 kB / 1.221 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002311/0.3213, allocations: 77.55 kB / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3213, allocations: 8 kB / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3213, allocations: 0 / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3214, allocations: 0 / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.3215, allocations: 7.984 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3215, allocations: 0 / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.3215, allocations: 4 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3215, allocations: 4 kB / 1.221 GB, free: 11.03 MB / 0.9669 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.0001147/0.3216, allocations: 125.8 kB / 1.221 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3217, allocations: 0 / 1.221 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3219, allocations: 68.97 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3219, allocations: 7.922 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3219, allocations: 0 / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3219, allocations: 0 / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3221, allocations: 157.6 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3221, allocations: 7.984 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3222, allocations: 8 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3222, allocations: 0 / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3222, allocations: 4 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3222, allocations: 0 / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3222, allocations: 0 / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3225, allocations: 171.4 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.3226, allocations: 85.05 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3226, allocations: 4 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.3227, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.3227, allocations: 7.984 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3227, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.58e-05/0.3228, allocations: 83.28 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3228, allocations: 3.938 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002629/0.323, allocations: 19.88 kB / 1.221 GB, free: 10.19 MB / 0.9669 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.0002437/0.3233, allocations: 119.2 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3235, allocations: 35.97 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3235, allocations: 4.062 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.3236, allocations: 23.97 kB / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3238, allocations: 5.812 kB / 1.222 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.3242, allocations: 135.1 kB / 1.222 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3245, allocations: 0.6767 MB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.3245, allocations: 7.438 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.3245, allocations: 0 / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of Templates: time 0.002369/0.3269, allocations: 0.7762 MB / 1.223 GB, free: 8.348 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches