Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_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.0007983/0.0007983, allocations: 91.38 kB / 16.02 MB, free: 80 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.0009716/0.0009715, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.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.625/2.625, allocations: 437.8 MB / 0.7128 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004322, allocations: 12 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7091, allocations: 153.8 MB / 1.024 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001788/0.7109, allocations: 1.157 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.7116, allocations: 260.1 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.7116, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.7116, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.7117, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.712, allocations: 47.89 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.7121, allocations: 27.86 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.7122, allocations: 7.984 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.7122, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.7123, allocations: 15.92 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.7123, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.7124, allocations: 71.88 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.7125, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.7125, allocations: 33.62 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.7126, allocations: 31.94 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7126, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7126, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.7126, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 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.0004248/0.7131, allocations: 353.5 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7131, allocations: 11.97 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.7131, allocations: 4.938 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.7133, allocations: 164.3 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.7133, allocations: 4.312 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7133, allocations: 4.375 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.7135, allocations: 58.23 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7135, allocations: 8.172 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7135, allocations: 3.938 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7135, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.7137, allocations: 43.95 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.7141, allocations: 252.9 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.7143, allocations: 46.42 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.7144, allocations: 28.91 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/0.7151, allocations: 465.5 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.7151, allocations: 34.56 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7151, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.7155, allocations: 93.64 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.7155, allocations: 55.34 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.7156, allocations: 102 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7156, allocations: 29.7 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.7157, allocations: 88.08 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.7157, allocations: 11.88 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.7157, allocations: 13.72 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.7158, allocations: 310.8 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.7159, allocations: 19.98 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.716, allocations: 23.98 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.7162, allocations: 48.81 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7162, allocations: 4.062 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.7164, allocations: 85.53 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7164, allocations: 4 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7164, allocations: 4 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7164, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.7165, allocations: 12.03 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7166, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.7166, allocations: 7.984 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.7166, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.7794 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.174e-05/0.7167, allocations: 110.3 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.7167, allocations: 3.906 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.717, allocations: 88.77 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.717, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.717, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.717, allocations: 4 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.7172, allocations: 161.5 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7172, allocations: 3.938 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.7172, allocations: 16.02 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.7172, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.7173, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7173, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7173, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.7175, allocations: 179.5 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.7176, allocations: 77.11 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.7176, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.7177, allocations: 11.98 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.7177, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.7177, allocations: 4.031 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.7178, allocations: 87.27 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7178, allocations: 3.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002359/0.718, allocations: 16 kB / 1.028 GB, free: 10.6 MB / 0.7794 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.0002039/0.7182, allocations: 119.5 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.7184, allocations: 43.97 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7185, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.7186, allocations: 32.05 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.7188, allocations: 3.938 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.7191, allocations: 134.6 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.7194, allocations: 0.677 MB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.7194, allocations: 7.438 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.7194, allocations: 0 / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of Templates: time 0.002494/0.7219, allocations: 0.7781 MB / 1.03 GB, free: 8.746 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches