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.001676/0.001676, allocations: 106 kB / 15.98 MB, free: 6.359 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.002062/0.002062, allocations: 195.4 kB / 16.91 MB, free: 6.191 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 469.4 MB / 0.7423 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 68.98 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3185, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003235/0.3218, allocations: 1.502 MB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005955/0.3224, allocations: 247.3 kB / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.3225, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.3225, allocations: 3.938 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3226, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.3231, allocations: 55.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.3232, allocations: 27.92 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3233, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.3233, allocations: 11.98 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.3234, allocations: 7.938 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3234, allocations: 4 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3236, allocations: 71.86 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3236, allocations: 3.984 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.3236, allocations: 11.94 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3238, allocations: 35.94 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3238, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3238, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3238, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 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.0005104/0.3243, allocations: 343.8 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3244, allocations: 8.625 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.3244, allocations: 12.83 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3246, allocations: 164.4 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3246, allocations: 8.312 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3246, allocations: 4.375 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3248, allocations: 50.23 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3248, allocations: 192 / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3248, allocations: 3.938 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3248, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.325, allocations: 27.97 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.3254, allocations: 253 kB / 1.066 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3255, allocations: 42.44 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.3256, allocations: 28.83 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/0.3263, allocations: 457.5 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3264, allocations: 38.55 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3264, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.3267, allocations: 73.56 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3268, allocations: 67.47 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.3269, allocations: 97.84 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3269, allocations: 29.64 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.3269, allocations: 84.14 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.327, allocations: 3.906 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.327, allocations: 17.7 kB / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3271, allocations: 314.8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.3272, allocations: 19.98 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.3273, allocations: 15.98 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3274, allocations: 40.81 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3275, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.3276, allocations: 69.61 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3277, allocations: 8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3277, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3277, allocations: 3.984 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.3278, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3278, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.3278, allocations: 7.984 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3279, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 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.786e-05/0.3279, allocations: 109.8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.328, allocations: 8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3282, allocations: 68.78 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3282, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3282, allocations: 3.984 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3282, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3284, allocations: 157.6 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3284, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.3285, allocations: 19.95 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3285, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3285, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3285, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3285, allocations: 3.938 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3288, allocations: 163.5 kB / 1.068 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.3288, allocations: 89.17 kB / 1.068 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3288, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.3289, allocations: 7.984 kB / 1.068 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.329, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.329, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.329, allocations: 83.28 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.329, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002406/0.3293, allocations: 19.98 kB / 1.069 GB, free: 9.988 MB / 0.8419 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.0002106/0.3295, allocations: 115.2 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3297, allocations: 39.95 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3297, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.3298, allocations: 23.92 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3301, allocations: 8.062 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.3304, allocations: 135.2 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3306, allocations: 0.6768 MB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3306, allocations: 11.44 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3306, allocations: 0 / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of Templates: time 0.002305/0.3329, allocations: 0.7785 MB / 1.07 GB, free: 8.141 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches