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.008308/0.008308, allocations: 101.7 kB / 15.73 MB, free: 6.445 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.002332/0.002332, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.651/1.651, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.788/2.788, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 72.03 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3338, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001627/0.3355, allocations: 0.5805 MB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.3361, allocations: 287.4 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.3361, allocations: 0 / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.3361, allocations: 0 / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-06/0.3362, allocations: 0 / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.3366, allocations: 103.7 kB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.559e-05/0.3367, allocations: 4 kB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.3367, allocations: 0 / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.3367, allocations: 4 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.739e-05/0.3367, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.3368, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.337, allocations: 127.7 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-06/0.337, allocations: 0 / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.337, allocations: 0 / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3372, allocations: 68.11 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3372, allocations: 4 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3372, allocations: 0 / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3372, allocations: 0 / 1.167 GB, free: 6.078 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003446/0.3376, allocations: 335.3 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3376, allocations: 8.031 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.3377, allocations: 34.75 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.3377, allocations: 0.9375 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3378, allocations: 160.4 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3378, allocations: 384 / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3378, allocations: 4.375 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.3379, allocations: 30.27 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3379, allocations: 7.922 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.3379, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.338, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.338, allocations: 4 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.3381, allocations: 141.7 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.3382, allocations: 22.52 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.3382, allocations: 12.95 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/0.3389, allocations: 453.5 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.339, allocations: 34.56 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.339, allocations: 3.938 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.3391, allocations: 45.53 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3392, allocations: 55.41 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.3392, allocations: 89.86 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3392, allocations: 29.69 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.3393, allocations: 80.14 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.3393, allocations: 0 / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.3393, allocations: 13.72 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3395, allocations: 319 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.3395, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.3395, allocations: 4 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.3395, allocations: 8.859 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3395, allocations: 0 / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.554e-05/0.3396, allocations: 37.62 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3396, allocations: 4 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3396, allocations: 7.938 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3397, allocations: 0 / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.3397, allocations: 4.094 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3397, allocations: 3.938 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.3397, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3397, allocations: 4 kB / 1.169 GB, free: 3.832 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 (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 7.288e-05/0.3398, allocations: 109.8 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-06/0.3398, allocations: 0 / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.3399, allocations: 40.75 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3399, allocations: 0 / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3399, allocations: 4.031 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3399, allocations: 0 / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.34, allocations: 153.6 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3401, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.3401, allocations: 3.984 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3401, allocations: 0 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-06/0.3401, allocations: 3.938 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3401, allocations: 4 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3401, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.351e-05/0.3402, allocations: 57.12 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.3402, allocations: 77.11 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3402, allocations: 11.86 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/0.3403, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.3403, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3403, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.3403, allocations: 75.28 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002141/0.3406, allocations: 23.94 kB / 1.17 GB, free: 3.168 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 (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.0005448/0.3411, allocations: 0.6436 MB / 1.17 GB, free: 2.492 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.3412, allocations: 4 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3412, allocations: 0 / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.3412, allocations: 0 / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.3413, allocations: 7.875 kB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.3416, allocations: 114.5 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3419, allocations: 0.673 MB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.366e-05/0.342, allocations: 12 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.342, allocations: 7.438 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of SimCode: time 3.4e-07/0.342, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.3633, allocations: 1.391 MB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.427, allocations: 7.609 kB / 1.173 GB, free: 308 kB / 0.92 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