Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.001089/0.001089, allocations: 104.3 kB / 16.27 MB, free: 6.418 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.001085/0.001085, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.389/1.389, 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 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 63.38 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.332, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002967/0.335, allocations: 1.425 MB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.3356, allocations: 242.2 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.3356, allocations: 0 / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.3357, allocations: 0 / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.3358, allocations: 3.938 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.3362, allocations: 67.56 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.3362, allocations: 19.94 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.3363, allocations: 7.984 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.3364, allocations: 7.938 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.3364, allocations: 15.98 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3364, allocations: 4 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3366, allocations: 47.95 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.3366, allocations: 15.92 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.3367, allocations: 7.922 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3368, allocations: 51.88 kB / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3368, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3368, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3368, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7325 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.0004933/0.3373, allocations: 351.7 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3374, allocations: 12.03 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.3374, allocations: 0.9375 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3376, allocations: 172.3 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3376, allocations: 384 / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3376, allocations: 384 / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3378, allocations: 54.22 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3378, allocations: 192 / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3378, allocations: 7.875 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3378, allocations: 4 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.338, allocations: 39.84 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3384, allocations: 253 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3385, allocations: 34.5 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.3386, allocations: 24.91 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.3393, allocations: 457.5 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3393, allocations: 30.56 kB / 0.9535 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/0.3393, allocations: 4 kB / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003625/0.3397, allocations: 81.58 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3397, allocations: 55.41 kB / 0.9536 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.3398, allocations: 97.84 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3399, allocations: 29.7 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3399, allocations: 84.14 kB / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3399, allocations: 4.031 kB / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.34, allocations: 17.72 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3401, allocations: 314.8 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.3402, allocations: 15.97 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.3403, allocations: 23.98 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3404, allocations: 40.83 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3404, allocations: 0 / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.3406, allocations: 69.59 kB / 0.9543 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3407, allocations: 4 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3407, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3407, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.3408, allocations: 11.98 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3408, allocations: 0 / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.3409, allocations: 11.94 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3409, allocations: 3.984 kB / 0.9543 GB, free: 4.406 MB / 0.7325 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.76e-05/0.341, allocations: 113.8 kB / 0.9544 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.341, allocations: 4 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.3412, allocations: 68.72 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3412, allocations: 0 / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3413, allocations: 8.031 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3413, allocations: 0 / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.3414, allocations: 161.6 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3414, allocations: 3.938 kB / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.3415, allocations: 4 kB / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3415, allocations: 4 kB / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3415, allocations: 0 / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3415, allocations: 0 / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3415, allocations: 3.984 kB / 0.9547 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3418, allocations: 167.4 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.3419, allocations: 85.03 kB / 0.9549 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3419, allocations: 3.938 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.342, allocations: 4 kB / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.342, allocations: 3.984 kB / 0.9549 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.342, allocations: 4 kB / 0.9549 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.3421, allocations: 87.48 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/0.3421, allocations: 4 kB / 0.955 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002427/0.3423, allocations: 12 kB / 0.955 GB, free: 3.578 MB / 0.7325 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.0002329/0.3426, allocations: 115.2 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3429, allocations: 35.97 kB / 0.9552 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3429, allocations: 0 / 0.9552 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.343, allocations: 27.91 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3432, allocations: 11.94 kB / 0.9552 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.3435, allocations: 127.2 kB / 0.9554 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3439, allocations: 0.6846 MB / 0.956 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.3439, allocations: 11.44 kB / 0.956 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.3439, allocations: 0 / 0.956 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of Templates: time 0.002598/0.3465, allocations: 0.7747 MB / 0.9568 GB, free: 1.734 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches