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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001133/0.001133, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001253/0.001253, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.921/2.921, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 15.03 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3954, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002078/0.3976, allocations: 1.148 MB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006742/0.3983, allocations: 227.5 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.3984, allocations: 0 / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.3984, allocations: 0 / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.028e-05/0.3985, allocations: 4 kB / 1.059 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.399, allocations: 47.89 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.3991, allocations: 15.94 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3992, allocations: 7.984 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.3992, allocations: 8 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.3993, allocations: 11.91 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3993, allocations: 4 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3995, allocations: 59.89 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.3995, allocations: 0 / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.3995, allocations: 29.7 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3997, allocations: 39.92 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3997, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3997, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3997, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 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.00049/0.4002, allocations: 355.5 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.4003, allocations: 8.031 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.4003, allocations: 11.94 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.4005, allocations: 163 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4005, allocations: 3.938 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.4005, allocations: 3.953 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.4007, allocations: 57.67 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4008, allocations: 0 / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4008, allocations: 0 / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4008, allocations: 0 / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.401, allocations: 51.94 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.4014, allocations: 252.8 kB / 1.06 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.4015, allocations: 42.59 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.4016, allocations: 28.91 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/0.4023, allocations: 461.5 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4023, allocations: 30.56 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.4023, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003601/0.4027, allocations: 97.58 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.4027, allocations: 51.41 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.4028, allocations: 101.9 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.4029, allocations: 25.7 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.4029, allocations: 84.14 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4029, allocations: 8.016 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.403, allocations: 4 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4031, allocations: 314.8 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.4032, allocations: 19.98 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.4032, allocations: 19.98 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.4033, allocations: 31.98 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4033, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.4035, allocations: 77.61 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4036, allocations: 8.938 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4036, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4036, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.4037, allocations: 11.98 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4037, allocations: 0 / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.4038, allocations: 11.98 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4038, allocations: 3.938 kB / 1.062 GB, free: 1.152 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.4038, allocations: 117.8 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4039, allocations: 11.91 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.4041, allocations: 72.78 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4041, allocations: 4 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4041, allocations: 4.031 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4041, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.4043, allocations: 161.6 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4043, allocations: 3.953 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.4044, allocations: 11.98 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4044, allocations: 3.938 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4044, allocations: 0 / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4044, allocations: 0 / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4044, allocations: 4 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.4046, allocations: 171.5 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4047, allocations: 85 kB / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4047, allocations: 0 / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.4048, allocations: 16.02 kB / 1.062 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.4048, allocations: 0 / 1.062 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4048, allocations: 0 / 1.062 GB, free: 412 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.4049, allocations: 83.28 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4049, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002435/0.4051, allocations: 19.98 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.4054, allocations: 119.2 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4056, allocations: 43.95 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4056, allocations: 4.062 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.4057, allocations: 23.98 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.4059, allocations: 4 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.4062, allocations: 116.5 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4065, allocations: 0.681 MB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.4065, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.4066, allocations: 7.438 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4066, allocations: 3.938 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.003173/0.4097, allocations: 0.5764 MB / 1.064 GB, free: 14.66 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches