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.007482/0.007482, 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.001679/0.001679, allocations: 193.5 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.822, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002751/0.8248, allocations: 1.437 MB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007572/0.8256, allocations: 346.1 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.8256, allocations: 0 / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.8257, allocations: 0 / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.8257, allocations: 11.92 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.8263, allocations: 101 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.8263, allocations: 27.91 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.8264, allocations: 4 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.8265, allocations: 8 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.8265, allocations: 7.922 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.8265, allocations: 4 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.8268, allocations: 119.8 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.8268, allocations: 7.984 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.8268, allocations: 7.938 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.827, allocations: 94.42 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.827, allocations: 0 / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.352e-06/0.827, allocations: 0 / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.827, allocations: 0 / 1.168 GB, free: 1.633 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.0004948/0.8275, allocations: 356.2 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8276, allocations: 12.62 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.8276, allocations: 30.75 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.8277, allocations: 0.9375 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.8278, allocations: 176.3 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.8278, allocations: 4.375 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.8278, allocations: 384 / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.828, allocations: 50.23 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.828, allocations: 3.938 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.828, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.828, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.8282, allocations: 35.91 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.8285, allocations: 253 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.8287, allocations: 38.5 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.155e-05/0.8288, allocations: 20.91 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008417/0.8296, allocations: 465.4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.8297, allocations: 30.56 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.8297, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000381/0.83, allocations: 89.67 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.8301, allocations: 51.41 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.8302, allocations: 105.8 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.8302, allocations: 25.7 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.8303, allocations: 80.14 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.8303, allocations: 11.89 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.8303, allocations: 13.72 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8304, allocations: 318.8 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.8305, allocations: 20.02 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.8306, allocations: 11.98 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.8308, allocations: 40.77 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8308, allocations: 3.938 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.831, allocations: 73.67 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.831, allocations: 4 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.831, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8311, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.8311, allocations: 12.17 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8312, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.8312, allocations: 11.98 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.8312, allocations: 0 / 1.171 GB, free: 15 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 8.008e-05/0.8313, allocations: 113.8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.8313, allocations: 7.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.8316, allocations: 72.72 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.8316, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.8316, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8316, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.8318, allocations: 161.6 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8318, allocations: 4 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.8319, allocations: 8.031 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8319, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.8319, allocations: 3.984 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8319, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8319, allocations: 4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.8322, allocations: 167.3 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.8322, allocations: 89.09 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.8322, allocations: 0 / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.8323, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.8323, allocations: 3.984 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.8324, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.8324, allocations: 79.28 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8324, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002718/0.8327, allocations: 31.94 kB / 1.171 GB, free: 14.16 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.0007156/0.8334, allocations: 0.7397 MB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.8336, allocations: 35.91 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8337, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.8338, allocations: 15.98 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.834, allocations: 8.109 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.8344, allocations: 143 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.8347, allocations: 0.6768 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.8347, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.8348, allocations: 11.44 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.8348, allocations: 0 / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.8538, allocations: 1.76 MB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.568, allocations: 12.03 kB / 1.175 GB, free: 10.74 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