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.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.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.00192/0.00192, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002085/0.002085, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.437/2.437, allocations: 437 MB / 0.711 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 71.58 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3065, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002835/0.3094, allocations: 1.431 MB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005834/0.31, allocations: 256 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.3101, allocations: 0 / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.3101, allocations: 0 / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.3102, allocations: 3.938 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3106, allocations: 63.72 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.3107, allocations: 27.86 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.3108, allocations: 8 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.3108, allocations: 8 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.3109, allocations: 15.92 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.3109, allocations: 0 / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.311, allocations: 63.86 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.311, allocations: 8 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.3111, allocations: 7.938 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3112, allocations: 47.91 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3112, allocations: 3.938 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3112, allocations: 0 / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3112, allocations: 0 / 1.02 GB, free: 8.676 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004318/0.3117, allocations: 349.8 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3117, allocations: 12.62 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.3118, allocations: 4.844 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3119, allocations: 164.4 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3119, allocations: 4.375 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3119, allocations: 4.359 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3121, allocations: 54.17 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3121, allocations: 4.188 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3121, allocations: 7.875 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3121, allocations: 0 / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.3123, allocations: 35.95 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.3126, allocations: 240.9 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3128, allocations: 46.53 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.3129, allocations: 18.44 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/0.3136, allocations: 461.5 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3136, allocations: 38.5 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3136, allocations: 0 / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.314, allocations: 81.64 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.314, allocations: 51.41 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.3141, allocations: 101.8 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3141, allocations: 25.7 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.3142, allocations: 88.27 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.3142, allocations: 3.906 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.3142, allocations: 13.72 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.3143, allocations: 314.8 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.3144, allocations: 19.97 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.3145, allocations: 19.92 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3146, allocations: 40.89 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3147, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.3149, allocations: 73.5 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3149, allocations: 4 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3149, allocations: 0 / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3149, allocations: 3.938 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.315, allocations: 16.02 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.315, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.3151, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3151, allocations: 3.984 kB / 1.022 GB, free: 6.098 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 (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 9.273e-05/0.3152, allocations: 121.7 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3152, allocations: 4 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3155, allocations: 68.78 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3155, allocations: 0 / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3155, allocations: 0 / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3155, allocations: 0 / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3157, allocations: 165.6 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3157, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.3158, allocations: 8 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3158, allocations: 0 / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3158, allocations: 0 / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3158, allocations: 7.938 kB / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3158, allocations: 3.984 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.3161, allocations: 163.4 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.3162, allocations: 88.94 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3162, allocations: 0 / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3163, allocations: 8 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.3164, allocations: 3.984 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3164, allocations: 4.031 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.3165, allocations: 83.45 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3165, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002748/0.3167, allocations: 20 kB / 1.023 GB, free: 5.262 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 (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.0002663/0.317, allocations: 115.2 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3173, allocations: 43.91 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3173, allocations: 0 / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.3174, allocations: 19.97 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3177, allocations: 11.94 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.3181, allocations: 131.5 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3184, allocations: 0.6768 MB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.3184, allocations: 11.44 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3184, allocations: 3.938 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of Templates: time 0.002851/0.3213, allocations: 0.7614 MB / 1.024 GB, free: 3.422 MB / 0.795 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