Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.007959/0.007959, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001873/0.001874, allocations: 194 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.639/2.639, allocations: 469.4 MB / 0.7421 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 63.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8166, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001698/0.8184, allocations: 0.5781 MB / 1.22 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.819, allocations: 296.9 kB / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.8191, allocations: 0 / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.8191, allocations: 4 kB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.8191, allocations: 0 / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.8196, allocations: 99.67 kB / 1.221 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.153e-05/0.8197, allocations: 3.984 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.8197, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.8197, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.995e-05/0.8198, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.964e-06/0.8198, allocations: 4 kB / 1.221 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.82, allocations: 123.8 kB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.82, allocations: 0 / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.8201, allocations: 0 / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.8202, allocations: 70.5 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8203, allocations: 0 / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8203, allocations: 0 / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8203, allocations: 0 / 1.221 GB, free: 1.082 MB / 0.9356 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.0003037/0.8206, allocations: 332.4 kB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8206, allocations: 12.62 kB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.8207, allocations: 30.75 kB / 1.221 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.8207, allocations: 4.938 kB / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.8208, allocations: 160.4 kB / 1.221 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.8208, allocations: 384 / 1.221 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.8208, allocations: 4.312 kB / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.8209, allocations: 34.25 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.8209, allocations: 3.938 kB / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.8209, allocations: 0 / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.8209, allocations: 0 / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.821, allocations: 0 / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.8211, allocations: 153.7 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.364e-05/0.8211, allocations: 14.58 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.8212, allocations: 8.891 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/0.8219, allocations: 461.5 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.822, allocations: 34.56 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.822, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.8221, allocations: 37.62 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.8221, allocations: 51.41 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.306e-05/0.8222, allocations: 93.86 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.8222, allocations: 29.7 kB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.8222, allocations: 80.14 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.8223, allocations: 8.062 kB / 1.222 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.8223, allocations: 9.719 kB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.8224, allocations: 310.8 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.8224, allocations: 7.938 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.8224, allocations: 0 / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.8224, allocations: 12.86 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8225, allocations: 3.938 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.298e-05/0.8225, allocations: 41.69 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8225, allocations: 5.719 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8225, allocations: 3.938 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8226, allocations: 4 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.726e-05/0.8226, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8226, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.8226, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.8226, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 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 5.782e-05/0.8227, allocations: 114.3 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.8227, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.8228, allocations: 48.78 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8228, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8228, allocations: 4 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.8228, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.771e-05/0.8229, allocations: 145.7 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8229, allocations: 4 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.8229, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8229, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8229, allocations: 3.938 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.823, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.823, allocations: 4.031 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.037e-05/0.823, allocations: 61.08 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.8231, allocations: 85.08 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.8231, allocations: 3.938 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-06/0.8231, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.8231, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.8231, allocations: 4 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.8231, allocations: 79.31 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.8231, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002178/0.8234, allocations: 23.94 kB / 1.223 GB, free: 14.17 MB / 0.9512 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.0004276/0.8238, allocations: 0.6358 MB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.237e-05/0.8239, allocations: 4 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8239, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.8239, allocations: 4 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.824, allocations: 12.06 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.8243, allocations: 118.4 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.8245, allocations: 0.669 MB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.295e-05/0.8245, allocations: 7.984 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.8245, allocations: 11.38 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.8245, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.8408, allocations: 1.388 MB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.44, allocations: 20.41 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches