Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01236/0.01236, allocations: 101.9 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002462/0.002462, allocations: 192.2 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 66.91 kB / 0.9508 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3476, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002957/0.3506, allocations: 1.423 MB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.3513, allocations: 252.4 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.3513, allocations: 3.938 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.3514, allocations: 0 / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.3514, allocations: 7.938 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.3519, allocations: 71.5 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.352, allocations: 27.92 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3521, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.3521, allocations: 11.98 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.3522, allocations: 7.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3522, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3523, allocations: 71.86 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3524, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.3524, allocations: 11.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.3526, allocations: 55.86 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3526, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3526, allocations: 4 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.3526, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 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.0005923/0.3532, allocations: 343.5 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3533, allocations: 8.031 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3533, allocations: 4.844 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3535, allocations: 168.4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3535, allocations: 4.359 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3535, allocations: 4.375 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3537, allocations: 46.25 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3537, allocations: 4.125 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3538, allocations: 7.922 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3538, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3539, allocations: 31.97 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.3544, allocations: 253 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3545, allocations: 34.5 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3547, allocations: 24.91 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008462/0.3555, allocations: 465.4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.3556, allocations: 30.56 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3556, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004345/0.356, allocations: 81.64 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3561, allocations: 55.53 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.3562, allocations: 97.84 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3562, allocations: 25.7 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.3563, allocations: 92.05 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.3563, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3564, allocations: 13.72 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3565, allocations: 314.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.3567, allocations: 19.97 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.3567, allocations: 23.86 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3569, allocations: 40.77 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3569, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.3571, allocations: 73.5 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3572, allocations: 8.094 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3572, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3572, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.3573, allocations: 11.98 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3573, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.3574, allocations: 7.984 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.3574, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 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.0001026/0.3575, allocations: 121.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3575, allocations: 8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3578, allocations: 68.72 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3578, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3578, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3578, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.358, allocations: 161.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.358, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.3581, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3581, allocations: 4.031 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3581, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3581, allocations: 7.969 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3581, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3584, allocations: 164.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.3584, allocations: 85 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3585, allocations: 4.031 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.3585, allocations: 4.188 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3586, allocations: 3.984 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.3586, allocations: 7.984 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.3586, allocations: 79.28 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3586, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002459/0.3589, allocations: 16 kB / 1.093 GB, free: 12.27 MB / 0.8575 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.0002388/0.3591, allocations: 123.2 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3594, allocations: 39.89 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3594, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.3595, allocations: 23.92 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3597, allocations: 13.62 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.3601, allocations: 105.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3603, allocations: 0.6768 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.3604, allocations: 7.938 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.3604, allocations: 7.438 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3604, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of Templates: time 0.003577/0.364, allocations: 0.6489 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches