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.001724/0.001724, allocations: 105.5 kB / 16.36 MB, free: 6.285 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.001857/0.001857, allocations: 192 kB / 17.29 MB, free: 5.863 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 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.202/2.202, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 68.2 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2426, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00289/0.2456, allocations: 1.431 MB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005234/0.2461, allocations: 242.2 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.2462, allocations: 4 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.2462, allocations: 0 / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.2463, allocations: 7.938 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2467, allocations: 59.81 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.2467, allocations: 19.92 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2468, allocations: 11.98 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.2469, allocations: 7.938 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.2469, allocations: 11.98 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.247, allocations: 0 / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2471, allocations: 63.88 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.2471, allocations: 3.938 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.2472, allocations: 19.92 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.2473, allocations: 47.92 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2473, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2473, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2474, allocations: 0 / 0.953 GB, free: 6.121 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.0004372/0.2478, allocations: 351.3 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2478, allocations: 12.03 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2479, allocations: 0.9375 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.248, allocations: 168.3 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.248, allocations: 4.375 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.248, allocations: 12.3 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2482, allocations: 50.23 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2482, allocations: 192 / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2482, allocations: 3.938 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2482, allocations: 0 / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.2484, allocations: 31.97 kB / 0.9536 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.2487, allocations: 256.9 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2488, allocations: 38.5 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.2489, allocations: 20.91 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.2495, allocations: 457.5 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2496, allocations: 30.56 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2496, allocations: 0 / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.2499, allocations: 85.58 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.25, allocations: 55.53 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.25, allocations: 97.86 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2501, allocations: 25.7 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.2501, allocations: 84.12 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.2501, allocations: 11.91 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.2502, allocations: 9.719 kB / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.2503, allocations: 314.8 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.2503, allocations: 19.98 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.2504, allocations: 15.97 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2506, allocations: 36.83 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2506, allocations: 0 / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.2508, allocations: 81.59 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2508, allocations: 7.938 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2508, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2508, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.2509, allocations: 11.98 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2509, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.251, allocations: 7.906 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.251, allocations: 0 / 0.9552 GB, free: 3.547 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.638e-05/0.251, allocations: 113.8 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.2511, allocations: 8.031 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.2513, allocations: 72.72 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2513, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2513, allocations: 3.938 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2513, allocations: 0 / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2515, allocations: 161.6 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2515, allocations: 0 / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.2515, allocations: 7.984 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2516, allocations: 4.031 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2516, allocations: 0 / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2516, allocations: 0 / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2516, allocations: 4 kB / 0.9555 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.2518, allocations: 159.5 kB / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.2518, allocations: 85.05 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2519, allocations: 8.016 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.252, allocations: 8 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.252, allocations: 3.938 kB / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.252, allocations: 4.172 kB / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.252, allocations: 83.27 kB / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.252, allocations: 0 / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002494/0.2523, allocations: 24 kB / 0.9559 GB, free: 2.711 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.0001965/0.2525, allocations: 119.2 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.2527, allocations: 31.97 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2527, allocations: 0 / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.2528, allocations: 23.97 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2531, allocations: 12.06 kB / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.2534, allocations: 113.4 kB / 0.9562 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2536, allocations: 0.6766 MB / 0.9568 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.2536, allocations: 0 / 0.9568 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.2536, allocations: 11.44 kB / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.2536, allocations: 0 / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.00283/0.2565, allocations: 0.6465 MB / 0.9575 GB, free: 1.023 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 gbode -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