Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001756/0.001756, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 68.06 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2961, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001724/0.2978, allocations: 0.5783 MB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004557/0.2983, allocations: 195.3 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.16e-05/0.2983, allocations: 0 / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.2984, allocations: 0 / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.2984, allocations: 0 / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2988, allocations: 71.66 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.873e-05/0.2988, allocations: 0 / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.2988, allocations: 4 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.2989, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.2989, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.2989, allocations: 4 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2991, allocations: 63.86 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-06/0.2991, allocations: 0 / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.2991, allocations: 4 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.2992, allocations: 35.94 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2992, allocations: 0 / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2992, allocations: 0 / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2992, allocations: 0 / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002878/0.2995, allocations: 323.6 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2996, allocations: 12.92 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2996, allocations: 0.9375 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/0.2997, allocations: 160.4 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2997, allocations: 384 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.2997, allocations: 384 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.2998, allocations: 34.2 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.2998, allocations: 4.125 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.2998, allocations: 7.938 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2999, allocations: 0 / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.2999, allocations: 0 / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.3, allocations: 149.7 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.109e-05/0.3, allocations: 18.61 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.3001, allocations: 4.859 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/0.3007, allocations: 465.5 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3008, allocations: 38.5 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.3008, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.3009, allocations: 33.64 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.3009, allocations: 51.41 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.538e-05/0.301, allocations: 93.98 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.301, allocations: 25.7 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.301, allocations: 84.12 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.301, allocations: 4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.3011, allocations: 13.72 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.3012, allocations: 310.8 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.3012, allocations: 4 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.3012, allocations: 4 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.3012, allocations: 12.86 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3012, allocations: 0 / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.521e-05/0.3013, allocations: 33.7 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3013, allocations: 7.984 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3013, allocations: 0 / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3013, allocations: 3.938 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.3014, allocations: 4 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3014, allocations: 0 / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.3014, allocations: 0 / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.3014, allocations: 32 / 1.022 GB, free: 6.719 MB / 0.795 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 (1): * Single equations (assignments): 1 * 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 5.87e-05/0.3015, allocations: 113.8 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.3015, allocations: 4 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.3016, allocations: 44.69 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.349e-05/0.3017, allocations: 149.6 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3017, allocations: 0 / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.3017, allocations: 8.031 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3017, allocations: 3.984 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3017, allocations: 3.938 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3017, allocations: 3.984 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3017, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.582e-05/0.3018, allocations: 57.08 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.3018, allocations: 77.11 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.3018, allocations: 3.938 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.3018, allocations: 8.016 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.3019, allocations: 4 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3019, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.3019, allocations: 79.22 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 4 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000193/0.3021, allocations: 12 kB / 1.022 GB, free: 6.051 MB / 0.795 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 (1): * Single equations (assignments): 1 * 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.0001847/0.3023, allocations: 123.2 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.3024, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3024, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-06/0.3024, allocations: 7.938 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.3025, allocations: 0 / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.3027, allocations: 80.98 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.3029, allocations: 0.6769 MB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.096e-05/0.3029, allocations: 8 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.13e-05/0.3029, allocations: 7.438 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3029, allocations: 0 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of Templates: time 0.002192/0.3051, allocations: 402 kB / 1.023 GB, free: 4.695 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches