Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_10_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.001334/0.001334, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 187.8 kB / 16.66 MB, free: 6.59 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.792/2.792, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002822/0.3276, allocations: 1.429 MB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.3284, allocations: 359.7 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.3284, allocations: 4 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.3285, allocations: 4 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.3285, allocations: 3.938 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.3291, allocations: 107 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.3291, allocations: 27.86 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.997e-05/0.3292, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.026e-05/0.3293, allocations: 8 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.3293, allocations: 15.92 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.3293, allocations: 4 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.3296, allocations: 131.8 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.3296, allocations: 3.938 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.3297, allocations: 15.92 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3299, allocations: 88.02 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3299, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3299, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3299, allocations: 0 / 1.168 GB, free: 5.113 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.0005451/0.3305, allocations: 355.3 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3305, allocations: 16.02 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3306, allocations: 30.75 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3306, allocations: 8.938 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3308, allocations: 164.3 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3308, allocations: 384 / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3308, allocations: 8.375 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.331, allocations: 46.17 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.331, allocations: 7.875 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.331, allocations: 8 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.331, allocations: 4 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3312, allocations: 31.95 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.3316, allocations: 241 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3317, allocations: 42.44 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.3318, allocations: 28.89 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/0.3326, allocations: 465.5 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.3327, allocations: 38.56 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3327, allocations: 0 / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.3331, allocations: 77.64 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3331, allocations: 55.41 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.3332, allocations: 105.8 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3333, allocations: 25.7 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.3333, allocations: 88.2 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.3333, allocations: 3.953 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3334, allocations: 17.72 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3335, allocations: 310.8 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.3336, allocations: 19.97 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.3337, allocations: 19.92 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3339, allocations: 40.89 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3339, allocations: 3.938 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.3341, allocations: 65.61 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3341, allocations: 8 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3341, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3341, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.3342, allocations: 15.95 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3342, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.3343, allocations: 3.984 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3343, allocations: 4 kB / 1.171 GB, free: 2.469 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 9.302e-05/0.3344, allocations: 117.8 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3344, allocations: 0 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3347, allocations: 72.78 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3347, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3347, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3347, allocations: 192 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3349, allocations: 165.6 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3349, allocations: 3.984 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.335, allocations: 8 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.335, allocations: 3.938 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.335, allocations: 4 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.335, allocations: 3.984 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.335, allocations: 3.969 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3353, allocations: 159.5 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.3353, allocations: 85.05 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3353, allocations: 4 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3354, allocations: 8 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3355, allocations: 4.016 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3355, allocations: 4 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.3355, allocations: 79.28 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3355, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002671/0.3358, allocations: 27.94 kB / 1.171 GB, free: 1.629 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.0007655/0.3366, allocations: 0.7395 MB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3368, allocations: 47.94 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3368, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.3369, allocations: 15.98 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3371, allocations: 3.984 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3376, allocations: 151 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.338, allocations: 0.6768 MB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.338, allocations: 4.125 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.3381, allocations: 7.438 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3381, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3603, allocations: 1.758 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.475, allocations: 17.5 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches