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 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.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.001334/0.001334, allocations: 109.7 kB / 16.41 MB, free: 6.43 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.001396/0.001396, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.484/1.484, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001531, allocations: 67.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001997/1.052, allocations: 0.5775 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005003/1.052, allocations: 183.4 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/1.052, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/1.052, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/1.052, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/1.053, allocations: 55.81 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.934e-05/1.053, allocations: 11.94 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/1.053, allocations: 0 / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/1.053, allocations: 0 / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.312e-05/1.053, allocations: 0 / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/1.053, allocations: 4 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/1.053, allocations: 59.92 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/1.053, allocations: 0 / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/1.053, allocations: 4 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/1.053, allocations: 31.89 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.053, allocations: 3.984 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.184e-06/1.053, allocations: 0 / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.053, allocations: 0 / 1.209 GB, free: 12.67 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.0003346/1.054, allocations: 319.6 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.054, allocations: 11.97 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/1.054, allocations: 4.938 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/1.054, allocations: 168.4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.054, allocations: 384 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/1.054, allocations: 384 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.054, allocations: 30.27 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.054, allocations: 192 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/1.054, allocations: 11.86 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.054, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/1.054, allocations: 3.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/1.054, allocations: 149.7 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/1.054, allocations: 26.56 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/1.054, allocations: 4.953 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007776/1.055, allocations: 449.5 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.055, allocations: 34.56 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/1.055, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/1.055, allocations: 49.56 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/1.055, allocations: 51.41 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/1.055, allocations: 89.86 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.056, allocations: 25.7 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/1.056, allocations: 80.14 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/1.056, allocations: 4.125 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/1.056, allocations: 9.719 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.056, allocations: 318.8 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/1.056, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/1.056, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/1.056, allocations: 8.859 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.056, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.169e-05/1.056, allocations: 41.53 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.056, allocations: 12.09 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.056, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.056, allocations: 3.938 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/1.056, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.056, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/1.056, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/1.056, allocations: 4 kB / 1.211 GB, free: 10.48 MB / 0.9356 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 7.678e-05/1.056, allocations: 109.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/1.056, allocations: 3.984 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.056, allocations: 44.77 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.056, allocations: 3.938 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.056, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/1.056, allocations: 77.11 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.056, allocations: 7.938 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/1.056, allocations: 3.938 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/1.056, allocations: 3.984 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.601e-05/1.056, allocations: 109 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001409/1.057, allocations: 210.8 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.271e-05/1.057, allocations: 4 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.242e-05/1.057, allocations: 75.28 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of Backend: time 4.71e-07/1.057, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004903/1.057, allocations: 102.4 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0003837/1.058, allocations: 0.5253 MB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.003083/1.061, allocations: 440.5 kB / 1.213 GB, free: 8.672 MB / 0.9356 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