Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008214/0.008214, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001751/0.001752, allocations: 191 kB / 16.67 MB, free: 5.969 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.09 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00234/0.3044, allocations: 1.443 MB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000492/0.3049, allocations: 251.3 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.305, allocations: 0 / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.305, allocations: 0 / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.3051, allocations: 3.938 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3055, allocations: 62.19 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.3055, allocations: 23.88 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.3056, allocations: 15.97 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.3057, allocations: 8 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.3057, allocations: 11.92 kB / 1.209 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3057, allocations: 4 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3059, allocations: 59.88 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.3059, allocations: 4 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.3059, allocations: 11.94 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3061, allocations: 47.86 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3061, allocations: 3.984 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3061, allocations: 4 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.3061, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 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.0004144/0.3065, allocations: 347.4 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3066, allocations: 8.625 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3066, allocations: 4.938 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.3067, allocations: 160.4 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.3067, allocations: 384 / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3067, allocations: 8.375 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3069, allocations: 50.17 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3069, allocations: 192 / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3069, allocations: 11.94 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3069, allocations: 0 / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3071, allocations: 35.94 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.3074, allocations: 248.9 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3075, allocations: 46.48 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.3076, allocations: 28.84 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.3083, allocations: 465.4 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3083, allocations: 30.56 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3083, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.3087, allocations: 77.64 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3087, allocations: 51.41 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.3088, allocations: 97.98 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3088, allocations: 33.7 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3088, allocations: 80.14 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3089, allocations: 7.891 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3089, allocations: 17.66 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.309, allocations: 314.8 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.3091, allocations: 11.98 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.3092, allocations: 27.97 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3093, allocations: 32.83 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3093, allocations: 4 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.3095, allocations: 65.59 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3095, allocations: 13.66 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3095, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3095, allocations: 4.094 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.3096, allocations: 7.984 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3096, allocations: 3.938 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.3097, allocations: 4 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3097, allocations: 0 / 1.212 GB, free: 5.082 MB / 0.9669 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.629e-05/0.3098, allocations: 117.8 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3098, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.31, allocations: 76.77 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3101, allocations: 0 / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3101, allocations: 0 / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3101, allocations: 4 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.3102, allocations: 161.5 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3102, allocations: 0 / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3103, allocations: 11.98 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3103, allocations: 0 / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.3103, allocations: 4 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3103, allocations: 4.031 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3103, allocations: 3.938 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3105, allocations: 159.5 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.3106, allocations: 81.05 kB / 1.212 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3106, allocations: 4 kB / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.3107, allocations: 8.016 kB / 1.212 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3107, allocations: 8 kB / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.3107, allocations: 0 / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.3108, allocations: 87.2 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002433/0.311, allocations: 16 kB / 1.213 GB, free: 4.254 MB / 0.9669 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.0001859/0.3112, allocations: 115.2 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3114, allocations: 43.91 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3114, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.3115, allocations: 15.98 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3118, allocations: 7.922 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.312, allocations: 113.6 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3123, allocations: 0.6806 MB / 1.213 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.3123, allocations: 0 / 1.213 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.3123, allocations: 7.438 kB / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3123, allocations: 0 / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.002856/0.3152, allocations: 0.6676 MB / 1.214 GB, free: 2.543 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches