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.007384/0.007384, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001749/0.001749, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.809/2.809, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 68.12 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3363, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002775/0.3391, allocations: 1.42 MB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.3398, allocations: 339.8 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.3399, allocations: 0 / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.3399, allocations: 3.938 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.34, allocations: 4 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.3405, allocations: 107.7 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.3406, allocations: 27.92 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.3407, allocations: 4 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.3408, allocations: 11.98 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.3408, allocations: 7.922 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.3408, allocations: 4 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3411, allocations: 119.8 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3411, allocations: 7.938 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.3412, allocations: 7.938 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3414, allocations: 84.03 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3414, allocations: 4 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3414, allocations: 3.938 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3414, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 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.0004847/0.3419, allocations: 359.2 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.342, allocations: 12.03 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.342, allocations: 30.75 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.342, allocations: 4.938 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3422, allocations: 164.3 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3422, allocations: 8.375 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3422, allocations: 4.375 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3424, allocations: 54.16 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3424, allocations: 3.938 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3424, allocations: 4 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3424, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3426, allocations: 35.95 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.3429, allocations: 248.9 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3431, allocations: 46.47 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.3432, allocations: 16.91 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.3439, allocations: 465.5 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3439, allocations: 30.56 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3439, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.3443, allocations: 81.64 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3443, allocations: 55.53 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.3444, allocations: 97.86 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3444, allocations: 29.64 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.3444, allocations: 84.08 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3445, allocations: 11.94 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.3445, allocations: 13.72 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3446, allocations: 314.8 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.3447, allocations: 19.92 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.3448, allocations: 15.98 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3449, allocations: 40.81 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3449, allocations: 3.938 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.3451, allocations: 73.67 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3452, allocations: 4 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3452, allocations: 0 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3452, allocations: 0 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.3453, allocations: 11.94 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3453, allocations: 3.984 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.3453, allocations: 4 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3454, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 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 7.28e-05/0.3454, allocations: 117.8 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3455, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3457, allocations: 76.7 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3457, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3457, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3457, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3459, allocations: 157.6 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3459, allocations: 4 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.346, allocations: 12.02 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.346, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.346, allocations: 7.938 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.346, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.346, allocations: 4 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.3462, allocations: 155.5 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.3463, allocations: 89.09 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3463, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.3464, allocations: 11.98 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.3464, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3464, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.3465, allocations: 83.45 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3465, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002706/0.3468, allocations: 27.94 kB / 1.171 GB, free: 1.656 MB / 0.92 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.0006163/0.3474, allocations: 0.7475 MB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3476, allocations: 39.95 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3476, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.3477, allocations: 15.98 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.348, allocations: 3.984 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.3484, allocations: 163.1 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.3486, allocations: 0.6729 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.3486, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.3487, allocations: 11.44 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3487, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.3679, allocations: 1.735 MB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.12, allocations: 10.55 kB / 1.175 GB, free: 14.23 MB / 0.9356 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