Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 113.2 kB / 16.42 MB, free: 6.508 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.001891/0.001892, allocations: 185.7 kB / 17.35 MB, free: 5.754 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.969/2.969, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.001711, allocations: 71.89 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001936/1.054, allocations: 0.5793 MB / 1.227 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005466/1.055, allocations: 191.4 kB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/1.055, allocations: 0 / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/1.055, allocations: 3.938 kB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/1.055, allocations: 0 / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/1.055, allocations: 51.89 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.112e-05/1.055, allocations: 3.938 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/1.055, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/1.055, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/1.055, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.148e-06/1.055, allocations: 4 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/1.056, allocations: 59.94 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/1.056, allocations: 3.938 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/1.056, allocations: 3.984 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/1.056, allocations: 31.95 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/1.056, allocations: 0 / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/1.056, allocations: 3.938 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.056, allocations: 0 / 1.227 GB, free: 12.54 MB / 0.9512 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.0003365/1.056, allocations: 326.3 kB / 1.228 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.056, allocations: 8.031 kB / 1.228 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/1.056, allocations: 0.9375 kB / 1.228 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.056, allocations: 168.3 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.056, allocations: 384 / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/1.056, allocations: 4.375 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.621e-05/1.056, allocations: 26.27 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.057, allocations: 192 / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.057, allocations: 3.938 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.057, allocations: 3.984 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/1.057, allocations: 4 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/1.057, allocations: 153.7 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/1.057, allocations: 22.52 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/1.057, allocations: 8.953 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00077/1.058, allocations: 453.5 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/1.058, allocations: 38.5 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.058, allocations: 4 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001472/1.058, allocations: 37.58 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/1.058, allocations: 51.41 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/1.058, allocations: 89.86 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.058, allocations: 25.7 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/1.058, allocations: 88.08 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/1.058, allocations: 0 / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/1.058, allocations: 17.84 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.058, allocations: 314.8 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/1.058, allocations: 0 / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/1.058, allocations: 0 / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/1.058, allocations: 8.859 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.058, allocations: 0 / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.686e-05/1.058, allocations: 37.64 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.058, allocations: 9.188 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.058, allocations: 4 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.058, allocations: 3.938 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/1.058, allocations: 0 / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.058, allocations: 3.984 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.029e-05/1.058, allocations: 4 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.058, allocations: 0 / 1.229 GB, free: 10.34 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 6.698e-05/1.058, allocations: 106.4 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/1.058, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/1.059, allocations: 40.83 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.059, allocations: 3.938 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.059, allocations: 3.984 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/1.059, allocations: 81.11 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/1.059, allocations: 0 / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/1.059, allocations: 0 / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/1.059, allocations: 3.938 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.795e-05/1.059, allocations: 105 kB / 1.229 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001328/1.059, allocations: 218.8 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.847e-05/1.059, allocations: 3.938 kB / 1.23 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.904e-05/1.059, allocations: 75.28 kB / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of Backend: time 3.61e-07/1.059, allocations: 0 / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004475/1.059, allocations: 102.4 kB / 1.23 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000366/1.06, allocations: 0.5292 MB / 1.23 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of Templates: time 0.002785/1.063, allocations: 441.6 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches