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.002018/0.002018, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.002209/0.002209, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.251/2.251, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002038, allocations: 64.98 kB / 0.8127 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003088/0.3251, allocations: 1.496 MB / 0.9512 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.3257, allocations: 240.1 kB / 0.9515 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.3258, allocations: 0 / 0.9515 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.3258, allocations: 7.938 kB / 0.9515 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.3259, allocations: 0 / 0.9515 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.3263, allocations: 51.89 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.3264, allocations: 23.92 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.3265, allocations: 4 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.3266, allocations: 11.94 kB / 0.9516 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.3266, allocations: 11.98 kB / 0.9516 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3266, allocations: 3.938 kB / 0.9516 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3268, allocations: 67.88 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.3268, allocations: 7.984 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.3268, allocations: 7.938 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.327, allocations: 35.94 kB / 0.9517 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.327, allocations: 0 / 0.9517 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.327, allocations: 0 / 0.9517 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.327, allocations: 0 / 0.9517 GB, free: 7.297 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.0005032/0.3275, allocations: 343.7 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3276, allocations: 12.03 kB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3276, allocations: 8.875 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3277, allocations: 168.3 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3278, allocations: 384 / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3278, allocations: 384 / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.328, allocations: 54.22 kB / 0.9522 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.328, allocations: 192 / 0.9522 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.328, allocations: 7.875 kB / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.328, allocations: 0 / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3282, allocations: 39.95 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.3286, allocations: 245 kB / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3288, allocations: 38.48 kB / 0.9526 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.3289, allocations: 20.91 kB / 0.9526 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/0.3296, allocations: 461.5 kB / 0.953 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3297, allocations: 38.48 kB / 0.9531 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/0.3297, allocations: 0 / 0.9531 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.33, allocations: 77.66 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3301, allocations: 55.39 kB / 0.9532 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.3302, allocations: 97.86 kB / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3302, allocations: 29.7 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.3303, allocations: 84.14 kB / 0.9534 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3303, allocations: 3.906 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3303, allocations: 17.7 kB / 0.9534 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3305, allocations: 315 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.3305, allocations: 15.98 kB / 0.9537 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/0.3306, allocations: 19.92 kB / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3308, allocations: 44.75 kB / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3308, allocations: 0 / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001829/0.331, allocations: 69.67 kB / 0.9538 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.331, allocations: 7.984 kB / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.331, allocations: 0 / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.331, allocations: 0 / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.3311, allocations: 8 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3311, allocations: 0 / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3312, allocations: 11.89 kB / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3312, allocations: 0 / 0.9539 GB, free: 4.73 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 9.032e-05/0.3313, allocations: 121.8 kB / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3313, allocations: 0 / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.3315, allocations: 72.77 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3316, allocations: 0 / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3316, allocations: 4 kB / 0.9541 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3316, allocations: 0 / 0.9541 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3317, allocations: 157.6 kB / 0.9542 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3318, allocations: 7.969 kB / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.3318, allocations: 7.984 kB / 0.9542 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3318, allocations: 8 kB / 0.9542 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3318, allocations: 0 / 0.9542 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3319, allocations: 0 / 0.9542 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3319, allocations: 0 / 0.9542 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3321, allocations: 171.4 kB / 0.9544 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.3322, allocations: 81.05 kB / 0.9545 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3322, allocations: 0 / 0.9545 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.3323, allocations: 7.984 kB / 0.9545 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3323, allocations: 0 / 0.9545 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3323, allocations: 4 kB / 0.9545 GB, free: 4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.3324, allocations: 83.45 kB / 0.9546 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 4 kB / 0.9546 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002417/0.3326, allocations: 16 kB / 0.9546 GB, free: 3.898 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.0002353/0.3329, allocations: 119.4 kB / 0.9547 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3331, allocations: 39.89 kB / 0.9547 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3331, allocations: 0 / 0.9547 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.3332, allocations: 27.98 kB / 0.9548 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.3335, allocations: 10.89 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.3338, allocations: 131.2 kB / 0.9549 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.334, allocations: 0.6805 MB / 0.9556 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.3341, allocations: 7.438 kB / 0.9556 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.3341, allocations: 0 / 0.9556 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of Templates: time 0.002395/0.3365, allocations: 0.773 MB / 0.9563 GB, free: 2.051 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