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.001755/0.001755, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.121/2.121, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5825, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001564/0.5841, allocations: 0.5793 MB / 0.9502 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.5845, allocations: 180.6 kB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.065e-05/0.5845, allocations: 1.375 kB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.5845, allocations: 0 / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-06/0.5845, allocations: 0 / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.5848, allocations: 57.83 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.639e-05/0.5849, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.801e-05/0.5849, allocations: 1.375 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.081e-05/0.5849, allocations: 1.375 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.367e-05/0.5849, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-06/0.585, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.5851, allocations: 62 kB / 0.9504 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-06/0.5851, allocations: 0 / 0.9504 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.5851, allocations: 5.359 kB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.418e-05/0.5852, allocations: 32.33 kB / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5852, allocations: 0 / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5852, allocations: 7.938 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5852, allocations: 0 / 0.9505 GB, free: 8.531 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.000183/0.5854, allocations: 323.1 kB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.5854, allocations: 8.25 kB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.5855, allocations: 6.312 kB / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.293e-05/0.5855, allocations: 164.3 kB / 0.951 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.5855, allocations: 384 / 0.951 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.5855, allocations: 1.75 kB / 0.951 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.447e-05/0.5856, allocations: 35.62 kB / 0.951 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.5856, allocations: 192 / 0.951 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.5856, allocations: 5.312 kB / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.5856, allocations: 0 / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.5857, allocations: 5.312 kB / 0.951 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.479e-05/0.5857, allocations: 151 kB / 0.9512 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.5858, allocations: 19.89 kB / 0.9512 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.5858, allocations: 6.234 kB / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/0.5863, allocations: 460.1 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.5863, allocations: 30.56 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5864, allocations: 1.438 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 8.995e-05/0.5864, allocations: 34.42 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.339e-05/0.5865, allocations: 55.53 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.178e-05/0.5865, allocations: 89.86 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.5865, allocations: 25.7 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-06/0.5865, allocations: 84.95 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.5865, allocations: 9 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.5866, allocations: 14.81 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.274e-05/0.5866, allocations: 315.9 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-06/0.5866, allocations: 1.188 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.5866, allocations: 5.156 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/0.5866, allocations: 7.734 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5866, allocations: 0 / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.894e-05/0.5867, allocations: 33.95 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.5867, allocations: 5.312 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5867, allocations: 5.484 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.5867, allocations: 3.938 kB / 0.9523 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.982e-05/0.5868, allocations: 9.688 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.5868, allocations: 0 / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-06/0.5868, allocations: 8.078 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.5868, allocations: 1.656 kB / 0.9523 GB, free: 6.422 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 3.308e-05/0.5868, allocations: 107.4 kB / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-06/0.5868, allocations: 0 / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.5869, allocations: 36.86 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5869, allocations: 0 / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5869, allocations: 1.25 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5869, allocations: 3.984 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.851e-05/0.587, allocations: 151.2 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.587, allocations: 0 / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.587, allocations: 1.438 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.587, allocations: 1.281 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.587, allocations: 7.938 kB / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.587, allocations: 0 / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.587, allocations: 5.469 kB / 0.9526 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.861e-05/0.587, allocations: 58.62 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.5871, allocations: 81.14 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-06/0.5871, allocations: 9.406 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.5871, allocations: 0 / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.5871, allocations: 0 / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.5871, allocations: 1.25 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.786e-06/0.5871, allocations: 75.28 kB / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5871, allocations: 0 / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001881/0.5873, allocations: 15.64 kB / 0.9529 GB, free: 5.805 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.0001532/0.5875, allocations: 124.5 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.556e-05/0.5875, allocations: 6.875 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5875, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-06/0.5875, allocations: 6.828 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.5877, allocations: 1.438 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001451/0.5878, allocations: 82.27 kB / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.864e-05/0.5879, allocations: 0.6779 MB / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.456e-06/0.5879, allocations: 0 / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-06/0.5879, allocations: 9.188 kB / 0.9537 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5879, allocations: 3.938 kB / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of Templates: time 0.001939/0.5899, allocations: 404.5 kB / 0.9541 GB, free: 4.68 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