Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_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.001503/0.001503, allocations: 110 kB / 16.41 MB, free: 6.52 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.001819/0.00182, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.571/1.571, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 55.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00312/1.055, allocations: 1.431 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005746/1.056, allocations: 242.5 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/1.056, allocations: 4 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/1.056, allocations: 4 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/1.056, allocations: 3.938 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/1.056, allocations: 59.81 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/1.056, allocations: 19.98 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/1.057, allocations: 4 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/1.057, allocations: 11.94 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/1.057, allocations: 7.984 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/1.057, allocations: 0 / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/1.057, allocations: 71.86 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/1.057, allocations: 7.938 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/1.057, allocations: 7.938 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/1.057, allocations: 47.92 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.057, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.063e-06/1.057, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.611e-06/1.057, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 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.000622/1.058, allocations: 351.2 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/1.058, allocations: 8.922 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/1.058, allocations: 12.88 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/1.058, allocations: 160.4 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.058, allocations: 384 / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/1.058, allocations: 12.25 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/1.058, allocations: 50.22 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.058, allocations: 192 / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.058, allocations: 7.938 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.058, allocations: 0 / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/1.059, allocations: 35.95 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/1.059, allocations: 248.9 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/1.059, allocations: 34.5 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/1.059, allocations: 28.89 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/1.06, allocations: 457.5 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.06, allocations: 30.56 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.06, allocations: 0 / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003645/1.06, allocations: 89.58 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.06, allocations: 51.41 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/1.061, allocations: 101.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.061, allocations: 25.7 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/1.061, allocations: 84.14 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/1.061, allocations: 7.906 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/1.061, allocations: 9.719 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.061, allocations: 314.8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/1.061, allocations: 24.02 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/1.061, allocations: 15.98 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/1.061, allocations: 40.83 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.061, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/1.061, allocations: 73.59 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.061, allocations: 8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.061, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.061, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/1.061, allocations: 7.984 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.061, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/1.062, allocations: 7.984 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.062, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 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 7.04e-05/1.062, allocations: 109.9 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/1.062, allocations: 3.938 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/1.062, allocations: 76.72 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.062, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.062, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/1.062, allocations: 81.02 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/1.062, allocations: 7.984 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/1.062, allocations: 4.031 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/1.062, allocations: 7.984 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003337/1.063, allocations: 148.9 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003244/1.063, allocations: 246.7 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.382e-05/1.063, allocations: 11.98 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.347e-05/1.063, allocations: 87.27 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of Backend: time 1.91e-07/1.063, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006057/1.064, allocations: 120.5 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005483/1.064, allocations: 0.5453 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.003356/1.068, allocations: 0.7553 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches