Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_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.007286/0.007286, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001616/0.001616, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.187/2.187, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 59.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8587, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002469/0.8612, allocations: 1.436 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005913/0.8618, allocations: 352.2 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.8618, allocations: 0 / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.8619, allocations: 1.125 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.8619, allocations: 3.938 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.8623, allocations: 99.5 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.195e-05/0.8624, allocations: 27.33 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.8625, allocations: 4.953 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.8625, allocations: 11.88 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.8625, allocations: 14.36 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.8626, allocations: 2.688 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.8628, allocations: 118.2 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.8628, allocations: 6.453 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.8628, allocations: 10.41 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.863, allocations: 83.05 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.863, allocations: 4.75 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.585e-06/0.863, allocations: 0 / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.863, allocations: 3.938 kB / 1.09 GB, free: 3.891 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.0003359/0.8634, allocations: 361.3 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.8634, allocations: 8.781 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.943e-05/0.8634, allocations: 31.75 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.8635, allocations: 2.766 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/0.8635, allocations: 163.6 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.8636, allocations: 5.453 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.8636, allocations: 1.438 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.8637, allocations: 49.67 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.8637, allocations: 7.938 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.8638, allocations: 3.938 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8638, allocations: 1.094 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.8639, allocations: 36.67 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.8642, allocations: 242.2 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.8643, allocations: 44.97 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.8644, allocations: 23.67 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.865, allocations: 453.1 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.865, allocations: 44.3 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.865, allocations: 0 / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003359/0.8654, allocations: 80.58 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.553e-05/0.8654, allocations: 52.38 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.8654, allocations: 101.1 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.8655, allocations: 25.83 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.8655, allocations: 89.77 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.8655, allocations: 9.656 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.8655, allocations: 12.98 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.8656, allocations: 313.2 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.8657, allocations: 17.41 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.8658, allocations: 14.88 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.8659, allocations: 48.72 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.8659, allocations: 4.734 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.8661, allocations: 62.44 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.8661, allocations: 6.141 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.8661, allocations: 0 / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8662, allocations: 5.062 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.8662, allocations: 12.23 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.8662, allocations: 1.547 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.8663, allocations: 5.406 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.8663, allocations: 0.9688 kB / 1.092 GB, free: 1.652 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.303e-05/0.8664, allocations: 112.6 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.8664, allocations: 1.609 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.8666, allocations: 83.3 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8666, allocations: 1.156 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.8666, allocations: 0 / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8666, allocations: 0.5625 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.8667, allocations: 164 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8668, allocations: 0.75 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.8668, allocations: 8.312 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8668, allocations: 1.125 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.8668, allocations: 0.75 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8668, allocations: 0 / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8668, allocations: 5.188 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.8671, allocations: 169.9 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.8671, allocations: 79.34 kB / 1.092 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.8671, allocations: 0.9375 kB / 1.092 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.8672, allocations: 5.453 kB / 1.092 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.8672, allocations: 7.609 kB / 1.092 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.8672, allocations: 1.156 kB / 1.092 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.8673, allocations: 87.02 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8673, allocations: 1.219 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002797/0.8676, allocations: 29.56 kB / 1.093 GB, free: 0.9453 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.0007464/0.8683, allocations: 0.7282 MB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.8685, allocations: 44.06 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8686, allocations: 1.156 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.8687, allocations: 18.98 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.8689, allocations: 3.547 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.8693, allocations: 147.6 kB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.8695, allocations: 0.68 MB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.8696, allocations: 1.078 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.8696, allocations: 13.73 kB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8696, allocations: 0 / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.8874, allocations: 1.743 MB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/8.392, allocations: 12.86 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches