Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005337/0.005337, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001144/0.001144, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.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.49/2.49, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6718, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001767/0.6736, allocations: 0.6504 MB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005907/0.6742, allocations: 299.8 kB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.084e-05/0.6742, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.6743, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.059e-06/0.6743, allocations: 5.344 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.6747, allocations: 75.27 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.198e-05/0.6747, allocations: 1.375 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.6748, allocations: 5.359 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.6748, allocations: 0 / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.6748, allocations: 5.375 kB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.6748, allocations: 3.938 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.6751, allocations: 130.9 kB / 0.9507 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.6751, allocations: 0 / 0.9507 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.6751, allocations: 1.375 kB / 0.9507 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.6752, allocations: 44.42 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6752, allocations: 0 / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6752, allocations: 0 / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.6752, allocations: 1.375 kB / 0.9508 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.0002294/0.6755, allocations: 327.8 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6755, allocations: 9.625 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.6755, allocations: 4.938 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.177e-05/0.6756, allocations: 160.4 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.6756, allocations: 4.359 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.6756, allocations: 5.688 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.429e-05/0.6757, allocations: 31.62 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6757, allocations: 192 / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.6757, allocations: 5.312 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6757, allocations: 4 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.6758, allocations: 5.312 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.041e-05/0.6758, allocations: 143.1 kB / 0.9514 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.973e-05/0.6759, allocations: 19.95 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.6759, allocations: 6.234 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.6765, allocations: 462.8 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.6766, allocations: 35.94 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.6766, allocations: 0 / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.6767, allocations: 41.69 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.6767, allocations: 52.78 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.827e-05/0.6767, allocations: 89.98 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.6767, allocations: 29.7 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.145e-05/0.6768, allocations: 81.52 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.6768, allocations: 3.906 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.6768, allocations: 15.09 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.6769, allocations: 312.2 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.6769, allocations: 0 / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-06/0.6769, allocations: 1.375 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.6769, allocations: 11.67 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6769, allocations: 0 / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.22e-05/0.677, allocations: 39.12 kB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.677, allocations: 5.5 kB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.677, allocations: 0 / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.677, allocations: 5.312 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.605e-05/0.677, allocations: 1.375 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.6771, allocations: 0 / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.6771, allocations: 0 / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.6771, allocations: 1.375 kB / 0.9526 GB, free: 6.27 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 4.119e-05/0.6771, allocations: 115.2 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-06/0.6771, allocations: 0 / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.6772, allocations: 44.81 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6772, allocations: 1.375 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6772, allocations: 3.938 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6772, allocations: 0 / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.174e-05/0.6773, allocations: 147 kB / 0.9529 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6773, allocations: 4 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.6773, allocations: 6.781 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.6773, allocations: 0 / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.6773, allocations: 7.938 kB / 0.9529 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6773, allocations: 1.375 kB / 0.9529 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6773, allocations: 0 / 0.9529 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.486e-05/0.6774, allocations: 50.64 kB / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.6774, allocations: 82.47 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.6774, allocations: 3.938 kB / 0.9531 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.6774, allocations: 8.031 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.6774, allocations: 1.375 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.6774, allocations: 0 / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.271e-05/0.6775, allocations: 88.53 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6775, allocations: 0 / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000208/0.6777, allocations: 25.06 kB / 0.9532 GB, free: 5.629 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.0002369/0.6779, allocations: 138.2 kB / 0.9533 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.678, allocations: 7.984 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.678, allocations: 0 / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/0.678, allocations: 1.156 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.6781, allocations: 2.531 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001489/0.6783, allocations: 104.9 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.212e-05/0.6784, allocations: 0.6743 MB / 0.9541 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.6784, allocations: 8.656 kB / 0.9541 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6784, allocations: 0 / 0.9541 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.001936/0.6804, allocations: 0.7561 MB / 0.9548 GB, free: 4.32 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches