Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.002106/0.002106, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.456/1.456, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 62.14 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.383, allocations: 168.7 MB / 1.262 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001916/0.3849, allocations: 0.5862 MB / 1.263 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006249/0.3855, allocations: 203.6 kB / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.3856, allocations: 0 / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.3856, allocations: 0 / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.3856, allocations: 0 / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.386, allocations: 55.81 kB / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.972e-05/0.386, allocations: 0 / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.3861, allocations: 0 / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.3861, allocations: 8 kB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/0.3861, allocations: 0 / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-06/0.3861, allocations: 0 / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3863, allocations: 71.86 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.3863, allocations: 0 / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.3863, allocations: 0 / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3864, allocations: 39.81 kB / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3864, allocations: 0 / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3864, allocations: 0 / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3865, allocations: 0 / 1.263 GB, free: 11.93 MB / 0.9825 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.0003684/0.3868, allocations: 331.5 kB / 1.263 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3869, allocations: 8.031 kB / 1.263 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.3869, allocations: 4.875 kB / 1.263 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.387, allocations: 160.4 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.387, allocations: 384 / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.387, allocations: 384 / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.3871, allocations: 30.27 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3871, allocations: 192 / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3871, allocations: 3.938 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3871, allocations: 7.984 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.3872, allocations: 3.938 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3873, allocations: 149.7 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.3874, allocations: 18.52 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.3874, allocations: 4.859 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008125/0.3882, allocations: 465.5 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3882, allocations: 30.56 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3882, allocations: 0 / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.3884, allocations: 37.62 kB / 1.264 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3884, allocations: 55.34 kB / 1.264 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.3885, allocations: 89.86 kB / 1.264 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3885, allocations: 29.83 kB / 1.264 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.3885, allocations: 80.14 kB / 1.264 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3886, allocations: 4 kB / 1.264 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.3886, allocations: 13.72 kB / 1.264 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3888, allocations: 310.8 kB / 1.265 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.3888, allocations: 0 / 1.265 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.3888, allocations: 4 kB / 1.265 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.3888, allocations: 8.922 kB / 1.265 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3888, allocations: 4 kB / 1.265 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.745e-05/0.3889, allocations: 37.69 kB / 1.265 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3889, allocations: 4 kB / 1.265 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3889, allocations: 3.938 kB / 1.265 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3889, allocations: 7.875 kB / 1.265 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.389, allocations: 8 kB / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.389, allocations: 0 / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.389, allocations: 0 / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.389, allocations: 0 / 1.265 GB, free: 9.734 MB / 0.9825 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 8.358e-05/0.3891, allocations: 110.7 kB / 1.265 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.3891, allocations: 4 kB / 1.265 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.3891, allocations: 36.81 kB / 1.265 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3891, allocations: 3.938 kB / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3891, allocations: 0 / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3892, allocations: 77.11 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.3892, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-06/0.3892, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3892, allocations: 4 kB / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00013/0.3894, allocations: 120.9 kB / 1.265 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002163/0.3896, allocations: 202.8 kB / 1.265 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.819e-05/0.3896, allocations: 7.969 kB / 1.265 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.3896, allocations: 75.28 kB / 1.265 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Backend: time 3.61e-07/0.3896, allocations: 0 / 1.265 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.3901, allocations: 112.3 kB / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0004044/0.3905, allocations: 0.5292 MB / 1.266 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.002902/0.3934, allocations: 441.5 kB / 1.267 GB, free: 7.922 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches