Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.005564/0.005564, allocations: 104 kB / 15.73 MB, free: 6.043 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.001251/0.001251, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.169/2.169, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7262, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002353/0.7286, allocations: 1.431 MB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.7293, allocations: 361.7 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.7293, allocations: 0 / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.7294, allocations: 2 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.7294, allocations: 3.938 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.7299, allocations: 110.2 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.73, allocations: 23.59 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.7301, allocations: 8.125 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.7302, allocations: 4.984 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.7302, allocations: 13.89 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.7302, allocations: 2.188 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.7305, allocations: 134 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.7305, allocations: 1.172 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.7306, allocations: 14.5 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.7308, allocations: 91.17 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7308, allocations: 0.7188 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7308, allocations: 0 / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.7308, allocations: 1.438 kB / 1.09 GB, free: 3.902 MB / 0.8575 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.0003869/0.7312, allocations: 349.6 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7312, allocations: 9.562 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.7313, allocations: 31.55 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.7313, allocations: 7.156 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.834e-05/0.7314, allocations: 167 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.7314, allocations: 5.469 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.7314, allocations: 5.25 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.7316, allocations: 49.25 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7316, allocations: 3.938 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.7316, allocations: 0.7969 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.7316, allocations: 0.8125 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.7318, allocations: 32.22 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.7321, allocations: 250.3 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.7322, allocations: 45.42 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.7323, allocations: 19.11 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.7329, allocations: 472.9 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.733, allocations: 32.39 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.733, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003626/0.7333, allocations: 89.3 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.7334, allocations: 51.41 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.7334, allocations: 105.9 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.7334, allocations: 25.7 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.7335, allocations: 86.81 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.7335, allocations: 3.906 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.7335, allocations: 20.98 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.7336, allocations: 312.8 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.7337, allocations: 13.97 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.7337, allocations: 18.25 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.7339, allocations: 37.47 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.7339, allocations: 8 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.7341, allocations: 66.83 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7341, allocations: 5.344 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7341, allocations: 5.625 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.7341, allocations: 0 / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.7342, allocations: 9.297 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.7342, allocations: 0 / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.7343, allocations: 10.45 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.7343, allocations: 1.797 kB / 1.092 GB, free: 1.668 MB / 0.8575 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 4.818e-05/0.7344, allocations: 115.7 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.7344, allocations: 1.062 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.7346, allocations: 79.72 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7346, allocations: 0.7969 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7346, allocations: 1.062 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7346, allocations: 4.031 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.7347, allocations: 159.6 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7348, allocations: 1.125 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.7348, allocations: 12.56 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7348, allocations: 1.062 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.7348, allocations: 0 / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.7348, allocations: 1.922 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7348, allocations: 0 / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.7351, allocations: 162.3 kB / 1.092 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.7351, allocations: 82.69 kB / 1.092 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.7351, allocations: 6.391 kB / 1.092 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.7352, allocations: 5.453 kB / 1.092 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.7352, allocations: 1.703 kB / 1.092 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.7352, allocations: 1.188 kB / 1.092 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.7352, allocations: 80.25 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7352, allocations: 4.031 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002663/0.7355, allocations: 33.39 kB / 1.093 GB, free: 0.9648 MB / 0.8575 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.0006729/0.7362, allocations: 0.7379 MB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.7364, allocations: 35.19 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7364, allocations: 4 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.7365, allocations: 24.42 kB / 1.093 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.7368, allocations: 14.31 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.7372, allocations: 142.6 kB / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.7374, allocations: 0.6758 MB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.7374, allocations: 1.547 kB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.7374, allocations: 10.12 kB / 1.094 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.7374, allocations: 4.062 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.7557, allocations: 1.761 MB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/8.08, allocations: 5.844 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_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_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches