Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002143/0.002143, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.418/2.418, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9016, allocations: 140.4 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002576/0.9043, allocations: 0.6416 MB / 0.9497 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.9049, allocations: 181.2 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.9049, allocations: 0 / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.905, allocations: 1.062 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.905, allocations: 0 / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.9058, allocations: 49.05 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.9059, allocations: 1.25 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.9059, allocations: 5.281 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.906, allocations: 1.062 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.73e-05/0.906, allocations: 0 / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.906, allocations: 0 / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.9063, allocations: 68.16 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.9063, allocations: 1.062 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.9063, allocations: 3.984 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.9065, allocations: 36.86 kB / 0.9501 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9065, allocations: 3.938 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.817e-06/0.9065, allocations: 1.031 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.9065, allocations: 0 / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002986/0.9068, allocations: 325 kB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.9069, allocations: 9.594 kB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.9069, allocations: 0.9375 kB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.957e-05/0.907, allocations: 161.5 kB / 0.9505 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.907, allocations: 384 / 0.9505 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.907, allocations: 1.594 kB / 0.9505 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.9071, allocations: 27.89 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9071, allocations: 192 / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.9071, allocations: 7.938 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.9072, allocations: 1.562 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.9072, allocations: 5.453 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.9073, allocations: 149.6 kB / 0.9507 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.9074, allocations: 17.55 kB / 0.9507 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.9074, allocations: 6.141 kB / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007529/0.9081, allocations: 459.8 kB / 0.9512 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.9082, allocations: 30.56 kB / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.9082, allocations: 0 / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001575/0.9084, allocations: 39.14 kB / 0.9513 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.9084, allocations: 51.41 kB / 0.9513 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.653e-05/0.9084, allocations: 93.98 kB / 0.9514 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.9084, allocations: 27.05 kB / 0.9514 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/0.9085, allocations: 84.14 kB / 0.9515 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.9085, allocations: 3.906 kB / 0.9515 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.9085, allocations: 16.33 kB / 0.9515 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.9086, allocations: 310.8 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.9086, allocations: 1.375 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.9086, allocations: 1.625 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.9087, allocations: 10.77 kB / 0.9518 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9087, allocations: 0 / 0.9518 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.588e-05/0.9087, allocations: 44.05 kB / 0.9519 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9088, allocations: 5 kB / 0.9519 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9088, allocations: 0 / 0.9519 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9088, allocations: 7.875 kB / 0.9519 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.9089, allocations: 5.641 kB / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.9089, allocations: 1.438 kB / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.9089, allocations: 3.938 kB / 0.9519 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.9089, allocations: 4.016 kB / 0.9519 GB, free: 6.266 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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 5.259e-05/0.909, allocations: 110.9 kB / 0.952 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.909, allocations: 1.062 kB / 0.952 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.9091, allocations: 44.5 kB / 0.952 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.9091, allocations: 1.344 kB / 0.952 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9091, allocations: 3.938 kB / 0.9521 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9091, allocations: 3.984 kB / 0.9521 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.104e-05/0.9092, allocations: 143.1 kB / 0.9522 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9092, allocations: 0 / 0.9522 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.9092, allocations: 6.156 kB / 0.9522 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9092, allocations: 0 / 0.9522 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.9092, allocations: 5.031 kB / 0.9522 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9092, allocations: 0 / 0.9522 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9092, allocations: 5.266 kB / 0.9522 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.354e-05/0.9093, allocations: 54.36 kB / 0.9523 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.9093, allocations: 78.23 kB / 0.9523 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.9093, allocations: 3.938 kB / 0.9523 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.9094, allocations: 5.312 kB / 0.9523 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.9094, allocations: 3.984 kB / 0.9523 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.9094, allocations: 1.188 kB / 0.9523 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.9094, allocations: 75.28 kB / 0.9524 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9094, allocations: 0 / 0.9524 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002359/0.9096, allocations: 10.69 kB / 0.9524 GB, free: 5.648 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.000238/0.9099, allocations: 125.9 kB / 0.9526 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.91, allocations: 8.016 kB / 0.9526 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.91, allocations: 0 / 0.9526 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-06/0.91, allocations: 2.625 kB / 0.9526 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.9101, allocations: 1.281 kB / 0.9526 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.9103, allocations: 73.33 kB / 0.9526 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.9105, allocations: 0.6806 MB / 0.9533 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.9105, allocations: 5.234 kB / 0.9533 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.9105, allocations: 12.69 kB / 0.9533 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.9105, allocations: 0 / 0.9533 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.002802/0.9133, allocations: 404.1 kB / 0.9537 GB, free: 4.523 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches