Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_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.00647/0.00647, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001229/0.001229, allocations: 201.9 kB / 16.68 MB, free: 5.445 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.109 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.7 MB / 0.7453 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.89 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3107, allocations: 159.9 MB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00346/0.3142, allocations: 1.444 MB / 1.227 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.3151, allocations: 362.8 kB / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.3152, allocations: 0 / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.3153, allocations: 3.938 kB / 1.227 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.3154, allocations: 4 kB / 1.227 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.3161, allocations: 107.6 kB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3162, allocations: 19.94 kB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3164, allocations: 7.984 kB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.3165, allocations: 11.94 kB / 1.227 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.3165, allocations: 7.984 kB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3165, allocations: 4 kB / 1.227 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.3169, allocations: 131.8 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3169, allocations: 7.938 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.317, allocations: 0 / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3173, allocations: 99.72 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3173, allocations: 3.938 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3173, allocations: 0 / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3173, allocations: 0 / 1.227 GB, free: 7.488 MB / 0.9825 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.0006036/0.3179, allocations: 355.3 kB / 1.228 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.318, allocations: 12.03 kB / 1.228 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.318, allocations: 30.75 kB / 1.228 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.3181, allocations: 12.88 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3182, allocations: 164.3 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3183, allocations: 384 / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.3183, allocations: 384 / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3185, allocations: 50.23 kB / 1.228 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3185, allocations: 3.938 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3185, allocations: 0 / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3185, allocations: 8 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3187, allocations: 31.91 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3191, allocations: 245 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3192, allocations: 38.5 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/0.3193, allocations: 36.83 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008603/0.3202, allocations: 469.5 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.3203, allocations: 38.56 kB / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.684e-06/0.3203, allocations: 0 / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003743/0.3206, allocations: 77.58 kB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3207, allocations: 51.41 kB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.3208, allocations: 105.8 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3208, allocations: 29.81 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.3209, allocations: 92.09 kB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3209, allocations: 3.953 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.321, allocations: 13.72 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3211, allocations: 310.8 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.3212, allocations: 15.98 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.3213, allocations: 19.97 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3215, allocations: 48.83 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3215, allocations: 3.938 kB / 1.23 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002164/0.3217, allocations: 65.66 kB / 1.23 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3218, allocations: 8 kB / 1.23 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3218, allocations: 0 / 1.23 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3218, allocations: 0 / 1.23 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.3219, allocations: 12.02 kB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3219, allocations: 0 / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.322, allocations: 7.938 kB / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.322, allocations: 4 kB / 1.23 GB, free: 4.844 MB / 0.9825 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.425e-05/0.3221, allocations: 114.3 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3221, allocations: 0 / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.3224, allocations: 84.66 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3224, allocations: 0 / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3224, allocations: 0 / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3224, allocations: 0 / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3226, allocations: 157.6 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3226, allocations: 0 / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.3226, allocations: 11.98 kB / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3227, allocations: 0 / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3227, allocations: 0 / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3227, allocations: 0 / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3227, allocations: 0 / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.323, allocations: 175.4 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.323, allocations: 81.09 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.323, allocations: 4 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.3231, allocations: 0 / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3232, allocations: 7.984 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3232, allocations: 7.969 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.3233, allocations: 83.28 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3233, allocations: 0 / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002855/0.3236, allocations: 27.94 kB / 1.23 GB, free: 4.004 MB / 0.9825 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.000819/0.3244, allocations: 0.728 MB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3246, allocations: 43.92 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3246, allocations: 0 / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.3247, allocations: 19.98 kB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.325, allocations: 5.875 kB / 1.231 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.3255, allocations: 139 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3258, allocations: 0.6768 MB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.3259, allocations: 12.12 kB / 1.232 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.3259, allocations: 11.44 kB / 1.232 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3259, allocations: 0 / 1.232 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.3465, allocations: 1.769 MB / 1.234 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.061, allocations: 9.625 kB / 1.234 GB, free: 0.5781 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches