Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_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.007377/0.007382, allocations: 98.98 kB / 15.73 MB, free: 6.02 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.001724/0.001724, allocations: 190.8 kB / 16.67 MB, free: 5.938 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7976, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002185/0.7998, allocations: 1.429 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.8004, allocations: 356.2 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.8004, allocations: 0 / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.8005, allocations: 5.984 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.8005, allocations: 7.938 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.801, allocations: 106 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.8011, allocations: 20.72 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.8012, allocations: 3.562 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.8012, allocations: 13.42 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.8013, allocations: 13.67 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.8013, allocations: 2.25 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.8015, allocations: 125.4 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.8015, allocations: 9.344 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.8016, allocations: 19.16 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.8018, allocations: 85.67 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8018, allocations: 0 / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8018, allocations: 1 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8018, allocations: 0 / 1.09 GB, free: 3.887 MB / 0.8575 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.0004166/0.8022, allocations: 356.8 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8023, allocations: 13.44 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.8023, allocations: 31.45 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.8024, allocations: 2 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.8024, allocations: 168.1 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.8025, allocations: 1.625 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8025, allocations: 1.375 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8026, allocations: 49.09 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8027, allocations: 4.734 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.8027, allocations: 0 / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8027, allocations: 1.344 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.8029, allocations: 35.88 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.8031, allocations: 255 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.8033, allocations: 36.19 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.8034, allocations: 23.98 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.804, allocations: 473.2 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.804, allocations: 32.34 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.804, allocations: 0 / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.8044, allocations: 90.84 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.8044, allocations: 53.09 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.8045, allocations: 100.6 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.8045, allocations: 26.31 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.8045, allocations: 93.69 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.8045, allocations: 9.812 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.8046, allocations: 16.61 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.8046, allocations: 317 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.8047, allocations: 15.22 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.8048, allocations: 16.73 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.8049, allocations: 42.58 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8049, allocations: 3.938 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.8051, allocations: 66.69 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8051, allocations: 4.844 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8052, allocations: 2.062 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8052, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.8053, allocations: 8.5 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8053, allocations: 1.125 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.8053, allocations: 9.484 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.8053, allocations: 5.391 kB / 1.092 GB, free: 1.637 MB / 0.8575 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 4.365e-05/0.8054, allocations: 116.5 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.8054, allocations: 1.125 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.8056, allocations: 71.45 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8056, allocations: 0 / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8057, allocations: 5.922 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.8057, allocations: 0 / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.8058, allocations: 163.1 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8058, allocations: 1.188 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.8059, allocations: 9.422 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8059, allocations: 0 / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.8059, allocations: 0 / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8059, allocations: 1.906 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8059, allocations: 0 / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.8061, allocations: 167 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.8061, allocations: 78.91 kB / 1.092 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.8061, allocations: 4.734 kB / 1.092 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.8062, allocations: 10.45 kB / 1.092 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.8063, allocations: 6.359 kB / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.8063, allocations: 1.062 kB / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.8063, allocations: 83.77 kB / 1.093 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8063, allocations: 3.938 kB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002782/0.8066, allocations: 28.97 kB / 1.093 GB, free: 0.9336 MB / 0.8575 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.0006815/0.8073, allocations: 0.7263 MB / 1.093 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.8075, allocations: 39.2 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8075, allocations: 4.812 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.8076, allocations: 20.27 kB / 1.093 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.8079, allocations: 2.531 kB / 1.093 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.8083, allocations: 147.9 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.8085, allocations: 0.6758 MB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.8086, allocations: 0.8438 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.8086, allocations: 9.672 kB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8086, allocations: 4.656 kB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.8257, allocations: 1.773 MB / 1.096 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/8.328, allocations: 3.531 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches