Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.001127/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001343/0.001343, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8602/0.8614, allocations: 140.4 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00306/0.8645, allocations: 1.497 MB / 0.9504 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006729/0.8652, allocations: 245.8 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.8653, allocations: 1.281 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.8653, allocations: 0 / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.8654, allocations: 4.969 kB / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.8658, allocations: 47.77 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.8659, allocations: 13.31 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.866, allocations: 6.953 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.866, allocations: 10.69 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.8661, allocations: 10.41 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.8661, allocations: 5.281 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.8663, allocations: 66.3 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.8663, allocations: 12.83 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.8663, allocations: 2.688 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.8665, allocations: 55.33 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.8665, allocations: 1.625 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8665, allocations: 0 / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8666, allocations: 0 / 0.9508 GB, free: 7.609 MB / 0.7169 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.0005168/0.8671, allocations: 345.8 kB / 0.9512 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.8671, allocations: 12.64 kB / 0.9512 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.8672, allocations: 2.031 kB / 0.9512 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.8673, allocations: 166.4 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.8673, allocations: 384 / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.8673, allocations: 1.656 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.8675, allocations: 57.39 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8676, allocations: 5.234 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8676, allocations: 3.938 kB / 0.9514 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8676, allocations: 9.531 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.8678, allocations: 33.67 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.8681, allocations: 248.5 kB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.8683, allocations: 38.81 kB / 0.9517 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.8684, allocations: 36.47 kB / 0.9518 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.8691, allocations: 452.7 kB / 0.9522 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.8692, allocations: 30.56 kB / 0.9522 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8692, allocations: 0 / 0.9522 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003712/0.8695, allocations: 85.42 kB / 0.9523 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.8696, allocations: 51.41 kB / 0.9523 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.8697, allocations: 103.1 kB / 0.9524 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.8697, allocations: 25.7 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.8697, allocations: 81.23 kB / 0.9525 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.8698, allocations: 9.125 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.8698, allocations: 16.56 kB / 0.9526 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.8699, allocations: 320.3 kB / 0.9529 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.87, allocations: 16.02 kB / 0.9529 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.87, allocations: 13.98 kB / 0.9529 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.8702, allocations: 39.73 kB / 0.9529 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8702, allocations: 0 / 0.9529 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001845/0.8704, allocations: 72.38 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8704, allocations: 7.312 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8704, allocations: 4 kB / 0.953 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8705, allocations: 0 / 0.953 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.8706, allocations: 10.02 kB / 0.953 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.8706, allocations: 3.938 kB / 0.953 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.8706, allocations: 12.2 kB / 0.953 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.8706, allocations: 1.281 kB / 0.953 GB, free: 5.277 MB / 0.7169 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 6.685e-05/0.8707, allocations: 111.2 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.8707, allocations: 5.156 kB / 0.9532 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.871, allocations: 70.66 kB / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.871, allocations: 0 / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.871, allocations: 5.406 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.871, allocations: 0 / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.8711, allocations: 161.7 kB / 0.9534 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8711, allocations: 0 / 0.9534 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.8712, allocations: 6.875 kB / 0.9534 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8712, allocations: 3.984 kB / 0.9534 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.8712, allocations: 3.938 kB / 0.9534 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8712, allocations: 1.375 kB / 0.9534 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8712, allocations: 3.938 kB / 0.9534 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.8715, allocations: 167.2 kB / 0.9536 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.8715, allocations: 82.33 kB / 0.9536 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8715, allocations: 0 / 0.9536 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.8716, allocations: 7.297 kB / 0.9536 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.8716, allocations: 2 kB / 0.9537 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.8717, allocations: 1.125 kB / 0.9537 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.8717, allocations: 81.62 kB / 0.9537 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8717, allocations: 1.219 kB / 0.9537 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002423/0.8719, allocations: 17.16 kB / 0.9537 GB, free: 4.543 MB / 0.7169 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.0002494/0.8722, allocations: 119.8 kB / 0.9539 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.8724, allocations: 45.39 kB / 0.9539 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8725, allocations: 0 / 0.9539 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.8726, allocations: 15.17 kB / 0.9539 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.8728, allocations: 12.34 kB / 0.9539 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.8731, allocations: 105.9 kB / 0.954 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.8733, allocations: 0.6862 MB / 0.9547 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.8733, allocations: 0 / 0.9547 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.8733, allocations: 12.59 kB / 0.9547 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8733, allocations: 0 / 0.9547 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.003296/0.8766, allocations: 0.5766 MB / 0.9553 GB, free: 3.285 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches