Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_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_latest_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.001168/0.001168, allocations: 114.7 kB / 16.42 MB, free: 6.438 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.001132/0.001132, allocations: 190.5 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 67.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9996/1.001, allocations: 159.1 MB / 1.221 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002099/1.003, allocations: 0.5773 MB / 1.221 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005856/1.004, allocations: 203.3 kB / 1.222 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/1.004, allocations: 0 / 1.222 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/1.004, allocations: 0 / 1.222 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-06/1.004, allocations: 4 kB / 1.222 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/1.005, allocations: 55.83 kB / 1.222 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/1.005, allocations: 7.984 kB / 1.222 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/1.005, allocations: 0 / 1.222 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/1.005, allocations: 0 / 1.222 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/1.005, allocations: 0 / 1.222 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.986e-06/1.005, allocations: 0 / 1.222 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/1.005, allocations: 63.88 kB / 1.222 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/1.005, allocations: 0 / 1.222 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/1.005, allocations: 0 / 1.222 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/1.005, allocations: 39.88 kB / 1.222 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.005, allocations: 4 kB / 1.222 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/1.005, allocations: 0 / 1.222 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.83e-06/1.005, allocations: 4 kB / 1.222 GB, free: 1.328 MB / 0.9356 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.0003737/1.006, allocations: 319.6 kB / 1.222 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/1.006, allocations: 8.031 kB / 1.222 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/1.006, allocations: 8.906 kB / 1.222 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/1.006, allocations: 164.3 kB / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.006, allocations: 384 / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/1.006, allocations: 4.375 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/1.006, allocations: 30.27 kB / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.006, allocations: 192 / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.006, allocations: 3.938 kB / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.006, allocations: 0 / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/1.006, allocations: 4 kB / 1.222 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/1.006, allocations: 149.7 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.099e-05/1.006, allocations: 18.52 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/1.006, allocations: 12.95 kB / 1.223 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008897/1.007, allocations: 457.5 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.007, allocations: 34.56 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/1.007, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001682/1.007, allocations: 41.64 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/1.007, allocations: 51.41 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/1.007, allocations: 89.86 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.007, allocations: 29.64 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/1.008, allocations: 80.14 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/1.008, allocations: 7.844 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/1.008, allocations: 21.7 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.008, allocations: 310.8 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/1.008, allocations: 4.125 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/1.008, allocations: 0 / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/1.008, allocations: 8.859 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.008, allocations: 0 / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.954e-05/1.008, allocations: 33.64 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.008, allocations: 8 kB / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.008, allocations: 0 / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.008, allocations: 3.938 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/1.008, allocations: 3.984 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.008, allocations: 8.031 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/1.008, allocations: 0 / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/1.008, allocations: 4 kB / 1.224 GB, free: 15.13 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 (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.637e-05/1.008, allocations: 110.4 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/1.008, allocations: 0 / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/1.008, allocations: 36.81 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.008, allocations: 3.938 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.008, allocations: 0 / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/1.008, allocations: 81.14 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/1.008, allocations: 4 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/1.008, allocations: 0 / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/1.008, allocations: 0 / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.25e-05/1.009, allocations: 112.9 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001544/1.009, allocations: 206.8 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.071e-05/1.009, allocations: 8.062 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.745e-05/1.009, allocations: 75.28 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/1.009, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004995/1.009, allocations: 110.9 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005011/1.01, allocations: 0.5292 MB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.002828/1.013, allocations: 445.2 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches