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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001736/0.001736, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.714/2.714, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.02 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002579/0.3251, allocations: 1.433 MB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.3257, allocations: 251.2 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.3257, allocations: 3.938 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.3257, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.3258, allocations: 7.922 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3262, allocations: 63.81 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.3262, allocations: 19.94 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.3263, allocations: 11.98 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.3264, allocations: 8 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.3264, allocations: 11.92 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.3264, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3266, allocations: 63.92 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.3266, allocations: 8 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.3266, allocations: 3.938 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3267, allocations: 59.8 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3268, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3268, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3268, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 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.0004171/0.3272, allocations: 355.7 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3272, allocations: 12.03 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.3273, allocations: 0.9375 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3274, allocations: 164.4 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3274, allocations: 384 / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3274, allocations: 384 / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3276, allocations: 54.22 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3277, allocations: 192 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3277, allocations: 7.938 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3277, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.3279, allocations: 39.89 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.3282, allocations: 245 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3283, allocations: 38.5 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.3284, allocations: 24.89 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/0.3291, allocations: 461.5 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3291, allocations: 34.56 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3292, allocations: 3.938 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003789/0.3295, allocations: 85.48 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.3296, allocations: 51.41 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.3296, allocations: 97.86 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3297, allocations: 25.7 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.3297, allocations: 92.27 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3297, allocations: 7.891 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.3298, allocations: 9.719 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.3299, allocations: 318.8 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.33, allocations: 11.98 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.33, allocations: 11.98 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3302, allocations: 56.75 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3302, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.3304, allocations: 69.59 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3304, allocations: 4 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3305, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3305, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.3306, allocations: 12.03 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.3306, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3306, allocations: 7.984 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3306, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 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.671e-05/0.3307, allocations: 109.8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3307, allocations: 4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.331, allocations: 80.7 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.331, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.331, allocations: 4 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.331, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.3311, allocations: 161.6 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3312, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.3312, allocations: 7.984 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3312, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3312, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3312, allocations: 4 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3313, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3315, allocations: 175.3 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.3315, allocations: 81.05 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3316, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.3316, allocations: 7.984 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3317, allocations: 0 / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3317, allocations: 4.031 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.3317, allocations: 91.44 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3317, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002458/0.332, allocations: 16 kB / 1.073 GB, free: 5.109 MB / 0.8262 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.0002119/0.3322, allocations: 123.7 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3324, allocations: 35.97 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3325, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.3326, allocations: 27.86 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3328, allocations: 11.92 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.3331, allocations: 105.6 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3333, allocations: 0.6768 MB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.3333, allocations: 0 / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.3333, allocations: 11.44 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3334, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.3361, allocations: 0.6629 MB / 1.075 GB, free: 3.398 MB / 0.8262 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