Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_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.001611/0.001611, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001715/0.001715, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 68.3 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.026, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002927/1.029, allocations: 1.427 MB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006663/1.03, allocations: 262.4 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/1.03, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/1.03, allocations: 3.938 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/1.03, allocations: 4 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/1.031, allocations: 67.8 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/1.031, allocations: 19.94 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/1.031, allocations: 7.984 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/1.031, allocations: 11.94 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/1.031, allocations: 15.91 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/1.031, allocations: 4 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/1.031, allocations: 59.88 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/1.031, allocations: 4 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/1.031, allocations: 15.94 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/1.032, allocations: 47.92 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.032, allocations: 3.984 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.874e-06/1.032, allocations: 0 / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.46e-06/1.032, allocations: 0 / 1.169 GB, free: 1.91 MB / 0.8887 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.0005022/1.032, allocations: 343.3 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.032, allocations: 8.922 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/1.032, allocations: 8.875 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.032, allocations: 164.4 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.032, allocations: 8.312 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/1.032, allocations: 8.375 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.033, allocations: 42.23 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.033, allocations: 192 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.033, allocations: 11.94 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.033, allocations: 0 / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/1.033, allocations: 31.95 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/1.033, allocations: 245 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/1.033, allocations: 46.42 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/1.033, allocations: 20.91 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007665/1.034, allocations: 461.5 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1.034, allocations: 34.56 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.034, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003836/1.035, allocations: 85.64 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/1.035, allocations: 55.34 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.035, allocations: 97.86 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.035, allocations: 29.7 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/1.035, allocations: 80.14 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/1.035, allocations: 7.891 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/1.035, allocations: 13.72 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.035, allocations: 318.8 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/1.035, allocations: 16.02 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/1.035, allocations: 23.97 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.035, allocations: 32.83 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.035, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002206/1.036, allocations: 73.59 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.036, allocations: 8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.036, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.036, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/1.036, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.036, allocations: 3.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/1.036, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/1.036, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 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.0001044/1.036, allocations: 117.9 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/1.036, allocations: 7.875 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/1.036, allocations: 72.77 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.036, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.036, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/1.036, allocations: 81.02 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/1.036, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/1.037, allocations: 16.02 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/1.037, allocations: 7.938 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002809/1.037, allocations: 144.9 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003037/1.037, allocations: 235 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001017/1.037, allocations: 31.89 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.214e-05/1.037, allocations: 79.28 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of Backend: time 7.01e-07/1.037, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006516/1.038, allocations: 126.7 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006208/1.039, allocations: 0.5453 MB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.004017/1.043, allocations: 0.7564 MB / 1.174 GB, free: 13.04 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches