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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001955/0.001955, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.002228/0.002228, allocations: 191 kB / 16.91 MB, free: 6.184 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.391/1.391, 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 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 68 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3141, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002112/0.3162, allocations: 0.6394 MB / 1.018 GB, free: 10.36 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004943/0.3168, allocations: 207.3 kB / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.093e-05/0.3168, allocations: 0 / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.3168, allocations: 0 / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.3168, allocations: 0 / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.3172, allocations: 47.81 kB / 1.018 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.254e-05/0.3173, allocations: 0 / 1.018 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3173, allocations: 8 kB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.3173, allocations: 0 / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.3174, allocations: 7.938 kB / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.3174, allocations: 0 / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.3176, allocations: 71.86 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.3176, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.3176, allocations: 4 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.3177, allocations: 19.95 kB / 1.018 GB, free: 9.996 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3177, allocations: 0 / 1.018 GB, free: 9.996 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3177, allocations: 0 / 1.018 GB, free: 9.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3177, allocations: 0 / 1.018 GB, free: 9.996 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.0002892/0.318, allocations: 325.4 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.318, allocations: 16.62 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.3181, allocations: 0.9375 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.814e-05/0.3182, allocations: 160.4 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3182, allocations: 384 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.3182, allocations: 384 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.3183, allocations: 30.27 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.3183, allocations: 192 / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3183, allocations: 3.938 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3183, allocations: 0 / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.3184, allocations: 3.984 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3185, allocations: 153.7 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.3185, allocations: 22.45 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.3186, allocations: 4.859 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.3193, allocations: 465.5 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3194, allocations: 30.56 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3194, allocations: 0 / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.3195, allocations: 33.64 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3195, allocations: 59.33 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.755e-05/0.3196, allocations: 89.86 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3196, allocations: 29.64 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.3196, allocations: 85.8 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3197, allocations: 4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.3197, allocations: 13.72 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3198, allocations: 310.8 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.3198, allocations: 0 / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.3198, allocations: 8 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.3199, allocations: 4.859 kB / 1.02 GB, free: 7.871 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3199, allocations: 4 kB / 1.02 GB, free: 7.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.61e-05/0.3199, allocations: 45.69 kB / 1.02 GB, free: 7.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.32, allocations: 4 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.32, allocations: 0 / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.32, allocations: 3.938 kB / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.79e-05/0.32, allocations: 4 kB / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.32, allocations: 0 / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.32, allocations: 0 / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.32, allocations: 0 / 1.02 GB, free: 7.805 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 6.236e-05/0.3201, allocations: 105.9 kB / 1.02 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.3201, allocations: 8 kB / 1.02 GB, free: 7.684 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.3202, allocations: 40.75 kB / 1.02 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3202, allocations: 0 / 1.02 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3202, allocations: 0 / 1.02 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3202, allocations: 0 / 1.02 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.082e-05/0.3203, allocations: 145.7 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3203, allocations: 0 / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.3203, allocations: 11.92 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3204, allocations: 0 / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3204, allocations: 3.938 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3204, allocations: 4.031 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3204, allocations: 0 / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.298e-05/0.3204, allocations: 53.14 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.3205, allocations: 85.09 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.3205, allocations: 3.938 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-06/0.3205, allocations: 0 / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.3205, allocations: 7.922 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3205, allocations: 4.031 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.848e-05/0.3206, allocations: 83.22 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3206, allocations: 0 / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000192/0.3208, allocations: 12 kB / 1.021 GB, free: 7.145 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.0001985/0.321, allocations: 115.2 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.24e-05/0.3211, allocations: 11.94 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3211, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.3211, allocations: 4 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.3212, allocations: 3.938 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.3214, allocations: 110.7 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.3216, allocations: 0.6729 MB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.3216, allocations: 7.438 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3216, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of Templates: time 0.00176/0.3234, allocations: 0.5585 MB / 1.022 GB, free: 5.598 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 -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