Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 111.7 kB / 16.42 MB, free: 6.492 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.001894/0.001894, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.619/1.619, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001636, allocations: 64.12 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003007/1.063, allocations: 1.426 MB / 1.222 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006234/1.063, allocations: 243.3 kB / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/1.063, allocations: 4 kB / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/1.063, allocations: 0 / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/1.063, allocations: 7.922 kB / 1.223 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/1.064, allocations: 59.81 kB / 1.223 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.377e-05/1.064, allocations: 23.88 kB / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.666e-05/1.064, allocations: 7.984 kB / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/1.064, allocations: 4 kB / 1.223 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/1.064, allocations: 19.92 kB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/1.064, allocations: 3.984 kB / 1.223 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/1.064, allocations: 55.95 kB / 1.223 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/1.064, allocations: 3.984 kB / 1.223 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/1.064, allocations: 11.94 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/1.065, allocations: 55.86 kB / 1.223 GB, free: 436 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.065, allocations: 0 / 1.223 GB, free: 436 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/1.065, allocations: 0 / 1.223 GB, free: 436 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.065, allocations: 0 / 1.223 GB, free: 436 kB / 0.9356 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.0005088/1.065, allocations: 351.2 kB / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.065, allocations: 8.031 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/1.065, allocations: 4.938 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.065, allocations: 164.4 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/1.065, allocations: 384 / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/1.065, allocations: 4.375 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.066, allocations: 50.23 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.066, allocations: 192 / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.066, allocations: 3.938 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.066, allocations: 4 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.066, allocations: 31.91 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/1.066, allocations: 252.9 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/1.066, allocations: 42.5 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/1.066, allocations: 24.91 kB / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/1.067, allocations: 453.5 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.067, allocations: 30.56 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.106e-06/1.067, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000365/1.068, allocations: 89.58 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/1.068, allocations: 55.34 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/1.068, allocations: 101.8 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/1.068, allocations: 25.7 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/1.068, allocations: 80.14 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/1.068, allocations: 11.91 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/1.068, allocations: 13.84 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.068, allocations: 314.8 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/1.068, allocations: 19.97 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/1.068, allocations: 11.98 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.068, allocations: 44.83 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.068, allocations: 0 / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/1.068, allocations: 69.59 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.068, allocations: 4 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.068, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.069, allocations: 192 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/1.069, allocations: 15.98 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.069, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/1.069, allocations: 11.97 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/1.069, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9512 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 8.048e-05/1.069, allocations: 110.4 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/1.069, allocations: 11.92 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/1.069, allocations: 76.62 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.069, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.069, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/1.069, allocations: 81.14 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/1.069, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/1.069, allocations: 7.984 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/1.069, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002611/1.07, allocations: 152.9 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002999/1.07, allocations: 238.8 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.647e-05/1.07, allocations: 15.98 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.652e-05/1.07, allocations: 79.28 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of Backend: time 4.4e-07/1.07, allocations: 0 / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005462/1.071, allocations: 128.9 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005114/1.071, allocations: 0.5453 MB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.003836/1.075, allocations: 0.7607 MB / 1.227 GB, free: 11.56 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches