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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00115/0.001151, allocations: 105 kB / 16.35 MB, free: 5.824 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.001159/0.001159, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.029/2.029, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.59 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2281, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002288/0.2304, allocations: 1.435 MB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004727/0.2309, allocations: 238.2 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.231, allocations: 11.94 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.231, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.231, allocations: 3.938 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.2314, allocations: 55.81 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.2315, allocations: 23.98 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.2315, allocations: 0 / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.2316, allocations: 11.94 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.2316, allocations: 15.97 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.2316, allocations: 0 / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2318, allocations: 63.88 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.2318, allocations: 7.938 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.2318, allocations: 11.94 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2319, allocations: 43.92 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2319, allocations: 0 / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.232, allocations: 0 / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.232, allocations: 0 / 0.953 GB, free: 6.113 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.0004082/0.2324, allocations: 351.4 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2324, allocations: 12.03 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.2324, allocations: 4.938 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2326, allocations: 168.2 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2326, allocations: 4.375 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.2326, allocations: 4.312 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2327, allocations: 50.23 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2328, allocations: 192 / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2328, allocations: 3.938 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2328, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2329, allocations: 39.95 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.2332, allocations: 248.9 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.2334, allocations: 38.5 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.2334, allocations: 20.89 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/0.234, allocations: 457.5 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.234, allocations: 30.56 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.234, allocations: 0 / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002994/0.2343, allocations: 89.58 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2344, allocations: 51.41 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.2344, allocations: 97.84 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2345, allocations: 29.64 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2345, allocations: 88.14 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.2345, allocations: 3.906 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.2345, allocations: 9.719 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2347, allocations: 327 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.2347, allocations: 11.98 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.2348, allocations: 15.98 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2349, allocations: 40.81 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2349, allocations: 0 / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001635/0.2351, allocations: 73.61 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2351, allocations: 4 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2351, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2351, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.2352, allocations: 11.98 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2352, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.2353, allocations: 11.89 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2353, allocations: 0 / 0.9552 GB, free: 3.543 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 6.33e-05/0.2354, allocations: 117.8 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.2354, allocations: 4 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.2356, allocations: 68.91 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2356, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2356, allocations: 7.922 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2356, allocations: 4 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.2358, allocations: 161.6 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2358, allocations: 4.031 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.2358, allocations: 7.984 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2358, allocations: 4 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.2358, allocations: 0 / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2358, allocations: 7.984 kB / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2358, allocations: 0 / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.2361, allocations: 167.5 kB / 0.9557 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.2361, allocations: 81.05 kB / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.2361, allocations: 0 / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.2362, allocations: 7.984 kB / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.2362, allocations: 0 / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.2362, allocations: 4 kB / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.2363, allocations: 83.22 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2363, allocations: 0 / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002223/0.2365, allocations: 20 kB / 0.9559 GB, free: 2.707 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.0001615/0.2367, allocations: 123.2 kB / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.2369, allocations: 35.95 kB / 0.956 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2369, allocations: 0 / 0.956 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.237, allocations: 27.98 kB / 0.9561 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2372, allocations: 7.938 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.2374, allocations: 109.5 kB / 0.9562 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2377, allocations: 0.6805 MB / 0.9568 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.2377, allocations: 0 / 0.9568 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.2377, allocations: 11.44 kB / 0.9569 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2377, allocations: 4.062 kB / 0.9569 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of Templates: time 0.002493/0.2402, allocations: 0.6545 MB / 0.9575 GB, free: 1.004 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 -s cvode -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