Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001069/0.001069, allocations: 193 kB / 16.14 MB, free: 6.691 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.494/2.494, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.89 kB / 0.8685 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7197, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002821/0.7226, allocations: 1.499 MB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.7233, allocations: 256.1 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.7233, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.7234, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.7234, allocations: 3.938 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.7238, allocations: 35.95 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.7239, allocations: 31.88 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.724, allocations: 3.984 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.724, allocations: 8 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.7241, allocations: 15.91 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.7241, allocations: 0 / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.7243, allocations: 63.89 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.7243, allocations: 3.984 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.7243, allocations: 11.94 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.7245, allocations: 51.86 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7245, allocations: 4 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7245, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7245, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 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.0004888/0.725, allocations: 353.4 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7251, allocations: 8.031 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.7251, allocations: 8.922 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.7252, allocations: 164.3 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.7253, allocations: 4.375 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7253, allocations: 4.375 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.7255, allocations: 50.23 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.7255, allocations: 192 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7255, allocations: 3.938 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7255, allocations: 7.938 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.7257, allocations: 27.97 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.726, allocations: 249.1 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.7262, allocations: 42.44 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.7263, allocations: 24.89 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.727, allocations: 453.5 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.727, allocations: 42.48 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.727, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.7274, allocations: 77.64 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.7274, allocations: 55.53 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.7275, allocations: 105.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.7275, allocations: 25.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.7276, allocations: 84.08 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.7276, allocations: 3.75 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.7277, allocations: 13.72 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7278, allocations: 314.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.7279, allocations: 19.97 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.728, allocations: 23.92 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.7281, allocations: 36.83 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7281, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.7283, allocations: 69.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7283, allocations: 8.094 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7284, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7284, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.7285, allocations: 7.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.7285, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.7285, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.7285, allocations: 7.938 kB / 1.021 GB, free: 14.26 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 8.331e-05/0.7286, allocations: 114.3 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.7287, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.7289, allocations: 72.78 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.7289, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7289, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7289, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.7291, allocations: 165.6 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7291, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.7292, allocations: 12 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7292, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.7292, allocations: 8.016 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7292, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7292, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.7295, allocations: 163.4 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.7295, allocations: 77.11 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.7295, allocations: 4 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.7296, allocations: 8.031 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.7296, allocations: 11.92 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.7297, allocations: 0 / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.7297, allocations: 79.28 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7297, allocations: 0 / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002423/0.73, allocations: 15.91 kB / 1.021 GB, free: 13.44 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.0002205/0.7302, allocations: 127.2 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.7304, allocations: 35.95 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7304, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.7305, allocations: 23.92 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.7308, allocations: 5.812 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.731, allocations: 107.6 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.7313, allocations: 0.677 MB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.7313, allocations: 0 / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.7314, allocations: 11.44 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7314, allocations: 0 / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.00281/0.7342, allocations: 0.5853 MB / 1.023 GB, free: 11.82 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches