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.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.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.008063/0.008063, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.00163/0.00163, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8018, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002587/0.8045, allocations: 1.42 MB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005455/0.805, allocations: 247.2 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.8051, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.8051, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.8052, allocations: 7.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.8056, allocations: 63.81 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.8057, allocations: 23.92 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.8058, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.8058, allocations: 15.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.8059, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.8059, allocations: 0 / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.806, allocations: 63.88 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.8061, allocations: 7.922 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.8061, allocations: 11.94 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.8062, allocations: 55.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8063, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8063, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.8063, allocations: 0 / 1.21 GB, free: 11.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004735/0.8068, allocations: 347.2 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.8068, allocations: 8.031 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.8068, allocations: 4.938 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.807, allocations: 164.4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.807, allocations: 384 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.807, allocations: 12.31 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.8072, allocations: 50.22 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.8072, allocations: 4.125 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8073, allocations: 7.938 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.8073, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.8075, allocations: 31.95 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.8078, allocations: 245 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.808, allocations: 42.48 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.8081, allocations: 24.91 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006977/0.8088, allocations: 449.5 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8088, allocations: 42.5 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.8088, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003484/0.8092, allocations: 81.55 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.8092, allocations: 51.53 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.8093, allocations: 105.8 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.8093, allocations: 25.7 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.8093, allocations: 80.14 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.8094, allocations: 11.91 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.8094, allocations: 9.719 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8095, allocations: 314.8 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.8096, allocations: 19.98 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.8097, allocations: 23.92 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.8099, allocations: 40.81 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8099, allocations: 0 / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.8101, allocations: 65.61 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8101, allocations: 12.09 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.8101, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8101, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.8102, allocations: 7.984 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8102, allocations: 4 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.8103, allocations: 7.984 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.8103, allocations: 0 / 1.212 GB, free: 9.137 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 (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.283e-05/0.8104, allocations: 113.7 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.8104, allocations: 0 / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.8106, allocations: 76.78 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8107, allocations: 0 / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8107, allocations: 3.938 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8107, allocations: 7.922 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.8108, allocations: 157.6 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8108, allocations: 0 / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.8109, allocations: 11.98 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.8109, allocations: 32 / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.8109, allocations: 4 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8109, allocations: 0 / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8109, allocations: 0 / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.8112, allocations: 171.3 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.8112, allocations: 82.94 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.8113, allocations: 0 / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.8113, allocations: 12.02 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.8114, allocations: 0 / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8114, allocations: 0 / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.8114, allocations: 83.47 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8114, allocations: 0 / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002457/0.8117, allocations: 19.98 kB / 1.213 GB, free: 8.309 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.8119, allocations: 119.4 kB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.8122, allocations: 39.89 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8122, allocations: 0 / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.8123, allocations: 19.98 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.8125, allocations: 8.047 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.8128, allocations: 105.5 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.813, allocations: 0.6768 MB / 1.213 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.8131, allocations: 4 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.8131, allocations: 7.438 kB / 1.213 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8131, allocations: 0 / 1.213 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.00282/0.8159, allocations: 0.6729 MB / 1.214 GB, free: 6.598 MB / 0.9356 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