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.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.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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001648/0.001649, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.503/2.503, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.88 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8796, allocations: 140.3 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001896/0.8815, allocations: 0.6387 MB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.8822, allocations: 305.3 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.23e-05/0.8822, allocations: 0 / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.8822, allocations: 0 / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.8823, allocations: 0 / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.8827, allocations: 69.16 kB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.432e-05/0.8827, allocations: 3.984 kB / 0.9499 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.8827, allocations: 9.109 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.8828, allocations: 1.125 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.176e-05/0.8828, allocations: 3.938 kB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.8828, allocations: 5.219 kB / 0.9499 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.8831, allocations: 131.1 kB / 0.9501 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.8831, allocations: 3.984 kB / 0.9501 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.8831, allocations: 4 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.8833, allocations: 69.3 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8833, allocations: 1.281 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8833, allocations: 0 / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8833, allocations: 0 / 0.9501 GB, free: 8.375 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.0002599/0.8836, allocations: 324.2 kB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8836, allocations: 14.09 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.8836, allocations: 0.9375 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.311e-05/0.8837, allocations: 164.3 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.8837, allocations: 384 / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.8837, allocations: 2.125 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.8838, allocations: 31.62 kB / 0.9506 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.8838, allocations: 192 / 0.9506 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.8839, allocations: 3.938 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8839, allocations: 1.094 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.8839, allocations: 9.406 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.884, allocations: 146.8 kB / 0.9508 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.884, allocations: 20.67 kB / 0.9508 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.8841, allocations: 10.2 kB / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006535/0.8847, allocations: 461.6 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.8848, allocations: 31.91 kB / 0.9513 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8848, allocations: 0 / 0.9513 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.8849, allocations: 38.75 kB / 0.9513 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.8849, allocations: 55.41 kB / 0.9514 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.133e-05/0.8849, allocations: 91.14 kB / 0.9515 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.885, allocations: 29.64 kB / 0.9515 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.885, allocations: 84.27 kB / 0.9516 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.885, allocations: 5.031 kB / 0.9516 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.885, allocations: 11.06 kB / 0.9516 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.8851, allocations: 312.2 kB / 0.9519 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.8851, allocations: 0 / 0.9519 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.8851, allocations: 1.062 kB / 0.9519 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.8851, allocations: 11.98 kB / 0.9519 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8851, allocations: 4.062 kB / 0.9519 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.226e-05/0.8852, allocations: 35.28 kB / 0.9519 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8852, allocations: 6.094 kB / 0.952 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.8852, allocations: 1.531 kB / 0.952 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.8852, allocations: 3.938 kB / 0.952 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.8853, allocations: 5.5 kB / 0.952 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8853, allocations: 3.984 kB / 0.952 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.8853, allocations: 5.469 kB / 0.952 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.8853, allocations: 0 / 0.952 GB, free: 6.273 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.617e-05/0.8854, allocations: 111.4 kB / 0.9521 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.8854, allocations: 0 / 0.9521 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.8854, allocations: 46.12 kB / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8855, allocations: 0 / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8855, allocations: 0 / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8855, allocations: 1.375 kB / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.88e-05/0.8855, allocations: 141.7 kB / 0.9523 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8855, allocations: 5.266 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.8856, allocations: 1.469 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8856, allocations: 3.984 kB / 0.9523 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.8856, allocations: 9.219 kB / 0.9523 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8856, allocations: 0 / 0.9523 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8856, allocations: 7.875 kB / 0.9523 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.854e-05/0.8856, allocations: 54.64 kB / 0.9523 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.8857, allocations: 82.44 kB / 0.9524 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.8857, allocations: 3.938 kB / 0.9524 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-06/0.8857, allocations: 9.344 kB / 0.9524 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.8857, allocations: 4.031 kB / 0.9524 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.8857, allocations: 1.375 kB / 0.9524 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.428e-05/0.8857, allocations: 75.28 kB / 0.9525 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8857, allocations: 0 / 0.9525 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000252/0.886, allocations: 24.62 kB / 0.9525 GB, free: 5.641 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.0002625/0.8863, allocations: 139.2 kB / 0.9527 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.8863, allocations: 14.67 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8864, allocations: 1.375 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-06/0.8864, allocations: 1.375 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.8865, allocations: 1.375 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.8867, allocations: 68.39 kB / 0.9527 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.8868, allocations: 0.6745 MB / 0.9534 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.8868, allocations: 0 / 0.9534 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.8868, allocations: 8.812 kB / 0.9534 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.8868, allocations: 3.938 kB / 0.9534 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.002754/0.8896, allocations: 0.623 MB / 0.954 GB, free: 4.406 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/jenkins/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