Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00508/0.00508, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001292/0.001292, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7608, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002783/0.7636, allocations: 1.435 MB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.7643, allocations: 346.2 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.7644, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.7644, allocations: 7.922 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.7645, allocations: 0 / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.7649, allocations: 103.7 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.765, allocations: 19.97 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.7651, allocations: 8 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.7652, allocations: 11.92 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.7652, allocations: 12 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.7652, allocations: 0 / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.7655, allocations: 127.7 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7655, allocations: 7.938 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.7655, allocations: 4 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.7657, allocations: 91.47 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7657, allocations: 0 / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7657, allocations: 0 / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7658, allocations: 0 / 1.168 GB, free: 1.652 MB / 0.8887 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.0005045/0.7663, allocations: 359.2 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.7663, allocations: 12.92 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.7663, allocations: 30.75 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.7664, allocations: 0.9375 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.7665, allocations: 176.2 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.7665, allocations: 384 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7665, allocations: 384 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.7667, allocations: 50.23 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7667, allocations: 3.938 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.7667, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.7668, allocations: 4 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.7669, allocations: 35.95 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.7673, allocations: 245 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.7674, allocations: 42.42 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.7675, allocations: 28.91 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/0.7683, allocations: 453.5 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7683, allocations: 34.55 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7683, allocations: 7.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003586/0.7687, allocations: 81.59 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.7687, allocations: 55.39 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.7688, allocations: 93.86 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.7688, allocations: 25.7 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.7689, allocations: 92.12 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.769, allocations: 12.02 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.769, allocations: 17.7 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7692, allocations: 314.8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.7693, allocations: 11.98 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.7693, allocations: 15.98 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.7695, allocations: 44.88 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7695, allocations: 3.938 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.7697, allocations: 69.56 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7697, allocations: 4 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7698, allocations: 3.984 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7698, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.7699, allocations: 8 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.7699, allocations: 32 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.7699, allocations: 12.17 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.7699, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 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.903e-05/0.77, allocations: 117.8 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.7701, allocations: 3.984 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.7704, allocations: 68.72 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.7704, allocations: 3.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.7704, allocations: 12.03 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7704, allocations: 3.938 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.7706, allocations: 157.6 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7706, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.7707, allocations: 7.984 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7707, allocations: 4 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.7707, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7707, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7707, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.771, allocations: 167.5 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.771, allocations: 81.06 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.7711, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.7711, allocations: 7.984 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.7712, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7712, allocations: 4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.7712, allocations: 83.31 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7713, allocations: 4 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002877/0.7715, allocations: 31.86 kB / 1.171 GB, free: 14.18 MB / 0.9044 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.0007591/0.7723, allocations: 0.7319 MB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.7725, allocations: 31.97 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7726, allocations: 4.062 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.7727, allocations: 27.91 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.7729, allocations: 4 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.7734, allocations: 135 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.7737, allocations: 0.6768 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.7738, allocations: 0 / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.7738, allocations: 19.5 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.7738, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.7977, allocations: 1.746 MB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.952, allocations: 11.91 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_10_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches