Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.006109/0.006109, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001943/0.001943, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.553/2.553, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 72.11 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9041/0.9054, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001745/0.9072, allocations: 0.5883 MB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.9079, allocations: 289 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.378e-05/0.908, allocations: 0 / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.908, allocations: 4 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.908, allocations: 0 / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.9086, allocations: 95.72 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.82e-05/0.9086, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.9087, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.9087, allocations: 7.938 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.9087, allocations: 3.984 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.312e-06/0.9087, allocations: 0 / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.909, allocations: 123.8 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.909, allocations: 0 / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.909, allocations: 3.984 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.9092, allocations: 70.58 kB / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9092, allocations: 0 / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9092, allocations: 0 / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.9092, allocations: 0 / 1.167 GB, free: 2.617 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002894/0.9095, allocations: 330.5 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.9095, allocations: 8.922 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.9096, allocations: 30.75 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.9096, allocations: 0.9375 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.9097, allocations: 164.4 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.9097, allocations: 8.312 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.9097, allocations: 8.312 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.9098, allocations: 30.27 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9098, allocations: 3.938 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.9098, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.9098, allocations: 3.938 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.9099, allocations: 4 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.91, allocations: 145.7 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.91, allocations: 24.98 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.9101, allocations: 8.953 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/0.9108, allocations: 453.5 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.9108, allocations: 38.55 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9108, allocations: 0 / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.9109, allocations: 41.59 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.911, allocations: 55.41 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.936e-05/0.911, allocations: 89.86 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.911, allocations: 25.7 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.9111, allocations: 80.14 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.9111, allocations: 3.938 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.9111, allocations: 9.844 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.9112, allocations: 322.8 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.9112, allocations: 3.984 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.9112, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.9113, allocations: 12.86 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9113, allocations: 0 / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.888e-05/0.9113, allocations: 29.7 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9114, allocations: 4 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9114, allocations: 8.031 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9114, allocations: 4 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.9114, allocations: 0 / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9114, allocations: 0 / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-06/0.9115, allocations: 3.938 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.9115, allocations: 3.984 kB / 1.169 GB, free: 384 kB / 0.8887 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.882e-05/0.9115, allocations: 112 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.9115, allocations: 0 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.9116, allocations: 40.77 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9116, allocations: 4.031 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9116, allocations: 0 / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9117, allocations: 0 / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.922e-05/0.9117, allocations: 149.7 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.9117, allocations: 4 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.9118, allocations: 3.938 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9118, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.9118, allocations: 8.031 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9118, allocations: 3.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9118, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.665e-05/0.9119, allocations: 65.06 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.9119, allocations: 77.11 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.912, allocations: 3.938 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.912, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.912, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.912, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.912, allocations: 75.28 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.912, allocations: 32 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002232/0.9123, allocations: 31.92 kB / 1.17 GB, free: 15.69 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 (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.0004469/0.9127, allocations: 0.6358 MB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.9128, allocations: 7.984 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9128, allocations: 4 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.9128, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.9129, allocations: 2.344 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.9132, allocations: 117.5 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.9134, allocations: 0.6729 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.034e-05/0.9134, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.9135, allocations: 7.438 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9135, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.9287, allocations: 1.393 MB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.627, allocations: 10.75 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches